|
Post by ryubasteon on Oct 11, 2010 19:19:47 GMT -3
OK Wolfies... I'm progressing on the C# Version of the bot, and was thinking some feedback on what people would like the Role-Playing side to support.
So far I intend to put in: Hunting, Pack Hunting, and Sparring.
All "turns" will be based off of the Wolf/Prey's Agility score, to make it so the fastest strikes first.
But any ideas are welcome! I'll try to check this often.
Note: The sky is the limit, just the more complex it is the long it will take, I haven't set myself a deadline, as I'm learning XML as I do this, and some of it is new territory for me, as I have never tried coding a Game in C#. So with that, keep an open mind I might not be able to do everything we want in it, but I'll give it my best!
|
|
|
Post by ryubasteon on Oct 12, 2010 0:26:46 GMT -3
Progress:IRC support <100%> Connects, Joins, need to add commands yet. Level Caps <DONE> Ranks <DONE> Level Up <DONE - Max Level 20, Level Supported 50> Combat Systems <60%> RPG Systems <60%> Item Cache <90%> Algorithms <90%> Hunting <100%> Pack Hunting <0%> Sparring <0%> Server XML <DONE> - Allows the changing of Channel, Nick, and Server Sets the prey to a random xml file. so all previous hunts are stored. More XML Support (easy coding) Admin Overrides - Rapid editing of wolf Files. (.update field <wolf> <field> <newvalue>) as in example. (See commands for a full list of Admin Overrides) Things to do: To many to list! Shot Progress.... Shot 7 Scenting and Tracking... Current screenshot, will update this as I change things.
|
|
|
Post by ryubasteon on Oct 12, 2010 23:31:19 GMT -3
Debugging/Error Catching:
Decided to start a reply for these, so if you ever see them they can be referenced.
[21:26:17pm] <WolfServer> ADMIN OVERRIDE TO FIELD: hunt, FOR WOLF: Ryu, TO A VALUE OF: False [21:26:17pm] <WolfServer> Failed, Reason: System.NullReferenceException: Object reference not set to an instance of an object.
Above is an example of an "oops" you tried to do something that couldn't be done. So I'll explain it.
"System.NullReferenceException: Object reference not set to an instance of an object." Simply means "I can't find the field your trying to update, it has a null (does not exist) value. So I don't know what to do."
In that case, the field "hunt" does not exist in the XML file that its trying to update. It may happen, hence the reasoning for the "Failure and Reason"
"Unable to connect: Index was outside the bounds of the array." Means that the file could not be found, check your input and try again.
"System.IndexOutOfRangeException[/i]" Same as above pretty much.
|
|
|
Post by ryubasteon on Oct 13, 2010 15:27:19 GMT -3
Below is a list of working commands. Administrator commands are done Server Side (not from IRC)
Commands
Administrative Commands --NOTE: These will post to channel that an "Administrative Override" has been done.
.update field <file> <field> <value> :: Updates the specified field to the new value in the selected XML File. Example: .update field Ryu HP 150
.update stats <WolfFile> :: Updates the stats for a wolf, as if they've leveled. Example: .update stats Ryu
.update rank <Wolf> <NewRank> :: Updates the rank of a Wolf. Ranks are in the format of R1-R12 and R99 (Debug). Example: .update rank Ryu R99
.update level <Wolf> :: Runs the Level up System, mainly used the XP System fails, does not increase level unless XP meets requirements. Example: .update level Ryu
.debug healthbar <currentHP> <maxHP> :: Displays the healthbar debug script. Example: .debug healthbar 90 100
.debug setprey <File> <Nick> :: Sets a prey to a selected file. Example: .debug setprey ./Ryu Ryu Note: Nick is used for reference if needed from previous hunts.
.clear :: Clears the console window, and reposts the header.
.update addfield <Filename> <field> <value> :: Appends a new element to the specified file. Example: .update addfield ./Ryu.xml testfield false
Wolf Commands These commands are ran through IRC.
`new <WolfName> :: Creates a new Wolf with a name of WolfName, and generates their initial stats. Example: `new Ryu
`hunt :: Primary Hunting System
`claw, `bite, `tackle, `flee :: Combat Commands
`scent/`track :: Scenting and Tracking support, more realistic hunting.
`awake/`sleep :: Leave of Absence system... When awake -2HP/6hr, when `sleep +2HP/Hr
`cache/`use :: Item Cache commands, `cache lists everything in the item cache, `use <Number> uses the item from teh cache, and emptys the slot. EG: `use 1
`weather :: Pulls the real time weather information. Includes: Temperature, condition, humidity, and wind.
`fish :: Generic fishing system, Random chance based off AGI and Dex to catch a fish.
`seen :: Seen System, this is a public seen Data, it stores data for all joins/parts/quits the occur in any channel WolfServer is running in. :: eg: `seen Ryu
`SeenWolf :: Seen Wolf System is a system that checks WOLF Files for seen data. Same as Seen otherwise. :: eg: `seenwolf Ryu
`list :: List commands: `list op/hop/voice/root :: Shows the current Access lists.
Access Commands :: `op/`deop -- `hop/`hop -- `voice/`devoice Sets the users operator status in the channel. NOTE! Requres a password be set with wolfserver.
`setpass -- CAN ONLY BE DONE IN PM TO WOLFSERVER -- Sets the wolfs password, for use with Access Commands. Usage: `setpass Password
Protip: To change your password, make sure you can use the Access commands, then do `setpass NewPassword to Wolfserver.
Protip: If it refuses access commands, do `setpass CurrentPassword to Wolfserver and try again.
Remote Admin Commands These commands can only be ran by somebody with "root" access to WolfServer.
-bottime :: Shows the current time of the Bot, and the time of its next Hourly check.
-rank :: Changes the rank of a wolf. Usage: -rank Nick NewRank :: eg: -rank Ryu 99
-upload :: Forces WolfServer to upload all of the Wolf Files for use with WolfReader.
-prey :: Forces WolfServer to set a prey for a Wolf, and then starts combat. :: Usage: -prey Nick Prey :: EG: -prey Ryu Bear
|
|
|
Post by ryubasteon on Oct 21, 2010 15:34:24 GMT -3
Future Command thoughts (Besides those that I have planned)
`track `scent -- Both presented by Kiisa -> Functional! <Done>
`sleep `awake --Leave of Absence, freezes HP at max, when wolf is "awake" they take -2HP every 6 hours <DONE>
|
|
|
Post by Raen Kumo on Nov 3, 2010 23:33:29 GMT -3
--- Ideas ----- Simple fishing portion Seen script
|
|
|
Post by ryubasteon on Nov 6, 2010 12:54:23 GMT -3
Fishing - Done
Seen - Done
|
|
|
Post by Raen Kumo on Nov 12, 2010 2:41:03 GMT -3
Tested it out to see if it could make it and have a couple questions/requests.
1) At `checkup does it have to say "Checkup for Wolf: Name" cause it uber bothers me that it says "raen" not capitalized and can it just say "Checkup For" cause we dont have anything but wolves so yeah lol the wolf part is redundant... I mean unless we can check each others stats. I'm sure its in case 2/3 people checkup at a time that we don't get confused but can we get it to capitalize at least? Grammar fail!
2) The HP part of the checkup is up against the colon. HP:88/88 can we put a space? HP: 88/88 - i know picky picky lol
And between the Last Drink and Status there is no space between the ][ please add a space so its ] [
3) For the Food Storage can we not put "meat" after stuff cause I think its sorta redundant - its not like.. deer Berries or something haha and for the numbers is that so eventually we can use `eat deer or is it to count the number of contents? or will it eventually say the number as in the number of servings per item? Just a bit confused.
4) I have the color scheme for the codes. PM me for that.
Other then those everything seemes to be running smoothly! i didnt get to try a hunt cause i forgot the hunt commands but the weather, cache, eating/drinking and checkups work wonderfully!!! Everyone is so excited to see wolfserver go online perminatly!!!
|
|
|
Post by ryubasteon on Nov 12, 2010 19:51:26 GMT -3
Color support for checkup, is Done, will add the ability to modify future schemes sooner or later...
Fixed the Caped Name and removed "Wolf"
Added your ] [
Food drops, thats in the Prey files themselves, so when those are made you can customize what they say
------------------------ Future Support
Individual Stores for small prey and/or Non-Packhunts.
|
|
|
Post by Raen Kumo on Nov 13, 2010 3:54:25 GMT -3
Love the colors and thanks for putting up with my nit-picking can you have the underline end before the : so it doesnt run into the wolfs name? Also i was messing with it and `track doesnt seem to be working and i broke it with the `seen command. Does the seen command only do wolves with accounts because it has to or is that preferanced? «@22:55» < Raen Kumo> `seen Kiisa «@22:55» * WolfServer (WolfServer@6ca5ed1a.6ca5f0a2.12.2.imsk) Quit (Ping timeout: 240 seconds) --------------------------------------------------------------------------------- «@22:50» < Raen Kumo> `fish «@22:50» <WolfServer> Raen catches a Bass «@22:51» < Raen Kumo> `scent «@22:51» <WolfServer> Raen has scented a Mouse (`track to start tracking) «@22:51» < Raen Kumo> `track
|
|
|
Post by ryubasteon on Nov 15, 2010 3:46:02 GMT -3
Fixed...
OK, next...
Changes to the Cache system upcoming as follows.
-Instead of a "Mass Cache" each wolf will have their own cache of up to X Items.
-The Pack cache will be Y Items.
Where X = the wolfs Endurance, and Y = an undetermined number at this time.
-------------------------------
New Stats to be added. Intelligence: This will modify the tracking algorithm, figure the smarter the wolf the easier it can track.
Endurance: This will modify the personal Cache value and possibly the amount of HP Recovered/Loss per hour.
-- Update: New stats added in. HP Reduction (6hr) now decreases HP by END/2 HP Recovery (1hr) when sleeping, now recovers a value equal to Endurance. Eating: Recovers HP = to Endurance. Drinking: Recovers HP = Endurance / 2.
|
|
|
Post by Raen Kumo on Nov 16, 2010 17:21:58 GMT -3
Lookin good!!!
Just as a reminder cause you said you tend to forget stuff - the Op system for wolves to `op `hop or `vop
and the basic greeting systems for when wolves enter the RP channel.
|
|
|
Post by ryubasteon on Nov 17, 2010 0:18:19 GMT -3
`op stuff I'm looking into...
Greet System... hrm... it's easilly enough possible... I'll have to add a field to Wolf files or make other files... *shrugs* I'll cross that bridge when I get to it.
|
|
|
Post by ryubasteon on Nov 19, 2010 1:36:11 GMT -3
Op System... DONE. Created this: www.wg2140.com/users/wolf/WolfReader.php?id=RyuTo test a theory of integrating the files WolfServer generates for Wolf's into the website. *shrugs* like? dislike? suggestions? Update: WolfServer now can automatically update the Wolf Files remotely on 1 or 6 hour intervals.
|
|
|
Post by Raen Kumo on Nov 22, 2010 0:58:05 GMT -3
I messed with the hunting system and cant get past tracking cause I keep loosing the scent. I know its based off of levels but can the default level 1 at least let you track and kill a mouse? Its kinda hard to start leveling up if you cant even catch something that small on your own.
Also one of the tracking fail messages has a typo:
Tracking: The scent is strong BY the quary is no where to be found
|
|