|
||
|
|||||||
| Script Support Get support for modifying RunUO Scripts, or writing your own! |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Forum Novice
Join Date: Jan 2003
Location: Rochester NY
Age: 27
Posts: 208
|
Okay, a lot of changes here:
Falcons Now hatch from eggs which can be purchased from a falconer in the WatchTower in the South East corn of Britania on the Felluca map. Falcons come in 5 Varieties, each with certain advantages. They are: Pure Breed Half Breed Wild Feral Retarded There is more work to be done on distinguishing the unique behaviors of each. The Default Falcon is the "Wild Falcon". All others require specific criteria to be met by the player (for example, only evil player can get Ferals, only Very Lucky players get PureBreeds etc.) Added Poisoning attack for Feral Falcons, needs some balancing. Falcons have 5 Levels (0-4). Each level comes with an increase in hit points, and some levels may be required for special attacks. Special Attacks are: Poison Bleed Eye Gouge Bomb All special attack could use a bit of testing, but seem to work so far. Modified the "Send to Bank" function. Players can now send only one item or stack to the bank at a time to avoid the quick corpse looting exploits in the original script. There is a delay to simulate the length of time it would take the bird to flay to another region and return. "Fly Time" delay now includes stable and claim functions from Falconer's Gloves. This is to prevent players from sending a Falcon away when it's hits are low and then immediately reclaiming it at full health. The Send command is roughly the same as my last release. [Fsend PlayerName, select an item and the bird will carry that item to the other player (if they are online) Skinning has been revised. The Falcon no longer puts hides in it's own pack. It will strip the hides and scissor them, but they remain on the corpse to prevent criminal flags from looting. Falconer's Gloves Comments and Changes: Code:
Basic Function: Doubleclick will either stable or claim your pet falcon * Extended Concept: Fated Items. When crafted by a renown tailor, there is a chance * the new gloves will have some hidden properties that can only be revealed by the * one random person on the shard who the gloves were "Fated" for. This functionality * comes from a request I got to make a "Harry Potter" like magic wand system, where the * wand only worked for one person in the world and you needed to find a specific one. * That sounded too lame, but I applied the basic idea to the gloves here as a proof * of concept. * * You craft some magic gloves (with lots of skill), and they are randomly enhanced for * one Random person on your shard. It could be you, or anyone else. Only when the * Fated Owner of the gloves tries them on do the true properties get revealed. * * Players sufficiently skilled in Item Identification can reveal who the gloves will * accept as their master, but it will not reveal their functionality. * * If you craft some nice gloves and ID them, then discover they aren't suited for you, * You can be generous and use your Falcon's Send command and give the gloves to their rightful owner * or consider putting them on a vendor at your house. They're sure to fetch a good price as it's * going to be very difficult for any player to find a set made just for them. * * There are 5 types of Gloves: * Normal : Has whatever stats a typical pair of leather gloves is crafted with. * BirdMage Gloves : Made just for mages, 25 Arcane charges, 10% lower Mana cost, and a +20 to Meditation * Hawkeye Gloves : Max out Detect Hidden and Tracking! This way your Falcon can lend it's good eye sight to you. * Soaring Gloves : Unmounted Speed increase, improved Dexterity etc. Makes you swift and agile. * IronSkin Gloves : Improved defenses, It's hard to get gloves with decent armor stats, people will love these. * * To Craft the rare gloves you must meet the following requirements: * You Must have the tailoring skill required to make the gloves in the chosen material * and they must be of exceptional quality. They must have a Maker's Mark (player made only) * The Tailor who made them Must have a Fame level of 5,000 + (displayable title) at the time the * True owner equips them for the first time. NOT at time of Creation, but when they are equipped * So the Crafter has an incentive to maintain their Fame even after they make the gloves. * If these Requirements are met, there is a one in Twenty (5%) chance that an exceptional pair * May have hidden properties. * * Things you might want to change: * PvP shards may want to reduce the Detect Hidden and Tracking bonuses so as not to nerf PKer's * Currently the enhanced gloves CAN be made with a runic kit, this may be too Uber for some. * If you want the gloves to set properties immediately, move the section between comment lines * from OnEquip to OnAdded. Those properties will remain hidden until the owner is found, * But it will lose the long-term fame dependency on the Crafter. Type "[InstallFalcon" and Hit "Enter" This will make the changes, save the world and prompt you to restart the server. Once the server is restarted, everything should work fine. This is more secure than the last 2 releases, but I need testers to help make it bullet proof. If you get any errors, please post it here. Also, any ideas you'd like to see implemented in the script are welcome. Hoping to have the final script done soon, just need to be sure it's ready. Thanks, and enjoy.
__________________
•¤•¤•Arkryal •¤•¤• |
|
|
|
|
|
#2 (permalink) |
|
Forum Novice
Join Date: Dec 2003
Posts: 151
|
thanks i have a shard with about 5-10 player base i will test this script out and leave comments or ideas or errors i get well using this system . I liked the last version and thank you so much for sharing it.
__________________
<a href="http://wappyworld.com/phpBB2/portal.php"</a> |
|
|
|
|
|
#3 (permalink) |
|
Forum Novice
Join Date: Dec 2003
Posts: 151
|
]Errors:
+ Misc/Customs/Falcon/FalcGloves.cs: CS0103: Line 142: The name 'SpeedBoost' does not exist in the current contex t CS0103: Line 181: The name 'SpeedBoost' does not exist in the current contex t CS0103: Line 221: The name 'SpeedBoost' does not exist in the current contex[/code] this is the error im getting i am using svn and the last falcon version worked ok Ok i commented out those lines and it loads hope it dont mess things up to much
__________________
<a href="http://wappyworld.com/phpBB2/portal.php"</a> Last edited by mikeymaze; 08-24-2008 at 03:27 PM. |
|
|
|
|
|
#5 (permalink) |
|
Forum Novice
Join Date: Jan 2003
Location: Rochester NY
Age: 27
Posts: 208
|
Having trouble recreating the errors on 2.0, will download the latest SVN and see what I can find.
The shard crash on attack in Trammel is tricky, any chance you could post the error log? (run server with -debug switch). That'll help me narrow it down. I haven't tried with any custom regions or any other custom systems, so it may be reacting badly to another script. Thanks for the input, that helps a lot.
__________________
•¤•¤•Arkryal •¤•¤• |
|
|
|
|
|
#6 (permalink) |
|
Forum Novice
Join Date: Jan 2003
Location: Rochester NY
Age: 27
Posts: 208
|
OK, on server crash, did you do [add falcon, or did you create it from an egg? They were not written to be spawnable without a set master. I'll have to do some more null reference checks before it starts listing mobiles or the list never stops. Sloppy code on my part, should be fixable.
__________________
•¤•¤•Arkryal •¤•¤• |
|
|
|
|
|
#7 (permalink) |
|
Forum Novice
Join Date: Dec 2003
Posts: 151
|
I added the egg , tested out the fly to player feature in tram worked good... then i attacked player at bank and it crashed ... it didnt restart the server it just did nothing the error said something about to much data to process and i was forced to restart the server . I will try to post the error or try to re do it, maybe i can look at my logs but this was abit ago and i dont know what time i did it to narrow down the crash .
Edit ok it just tells u to much data pending and disconnects it even effects others and im forced to restart server all i can really help you with not sure how 2 debug it
__________________
<a href="http://wappyworld.com/phpBB2/portal.php"</a> Last edited by mikeymaze; 08-24-2008 at 11:22 PM. |
|
|
|
|
|
#8 (permalink) |
|
Forum Novice
Join Date: Jan 2003
Location: Rochester NY
Age: 27
Posts: 208
|
Okay, I'm stumped. I tested killing NPCs and PLayers of each AccessLevel, with a falcon owner of each access level, in town, out of town, in Tram and Fel. I let the falcon die once on each test, then I let the player or NPC die once on each test, no crash.
Every scenario I can think of has been tried and I can't recreate that crash. There's nothing in my code that would force such an error. Are you using any custom regions or PvP/Faction systems that might cause a bad interaction?
__________________
•¤•¤•Arkryal •¤•¤• |
|
|
|
|
|
#9 (permalink) | |
|
Forum Novice
Join Date: Jan 2003
Location: Rochester NY
Age: 27
Posts: 208
|
Quote:
Right click the RunUO Server icon --> choose "Properties" In the "Target" Box it will list the directory and runuo.exe Probably something like "C:\RunUO\RunUO.exe" (Directory may be different). Change that to: Code:
C:\Windows\System32\cmd.exe /c start /high C:\RunUO\RunUO.exe -debug Change "Start in" to Code:
C:\Windows\System32 If anyone else wants to chip in to, I'm proposing a small bribe: Anyone who can help me find or fix any crash-code, suggest other, more elegant means of implementation, or provide info or ideas regarding the continued development of features in the system will be accredited in game. Maybe the Falconer will tell some random passers by a story of your heroism, maybe I'll rename an artifact glove after you... who knows? Whatever I do, I'll include anyone helpful to the development of the system. As you can see, this script serves the dual function of a proving grounds for some simple concept code for projects I may take up later. (FatedCrafting.. Installer scripts.. Version Updaters etc.) So any ideas, no matter how wild can be considered for inclusion in the system. It's meant to be fun for the players, something more innovative than ubermodded armor and mobiles (at least in their methods of delivery). Roadmap: 5 more test systems to come (top secret at the moment), that'll be release 1.0, Looking ahead, If any of those systems are keepers, I'll implement them on their own, and rewrite the Falcon system to turn on the features if you've installed the other systems. So more choices as to what is implemented will come later on. On a side note: Anyone know of a good example script that pulls down a value from a remote http server (from a text file). I'm working on some updates that will likely need a lot of tweaking, so I hope to set a check for a text file containing a new version, if exists.. send gump "There is an Update to Falconry, would you like to install it now? Yes/No" to the admin. If yes, I can use the same method I used for the install script to read a string array from the remote web server, and write it directly over the existing code and start a recompile. (after backing up the old scripts of course). Would be a nice tool to have. Edit: scratch that last bit about http requests, I found it in System.Net, I should be able to get a test running soon.
__________________
•¤•¤•Arkryal •¤•¤• Last edited by Arkryal; 08-25-2008 at 11:23 AM. |
|
|
|
|
|
|
#10 (permalink) |
|
Forum Novice
Join Date: Dec 2003
Posts: 151
|
ok i am home from work now and ill see what is causing this ill follow your post and will get back to you soon thanks for the info
\maybe i am blind or something been looking at computers all day but in my runuo folder there is only a RunUoMLServer.exe but when i click properties and type in C:\Windows\System32\cmd.exe /c start /high C:\RunUO\RunUO.exe -debug does not let me change it cause it has slashes and stuff in it... am i suppose to place this right beside the pic of runuo where is says runuo.exe? sorry just not sure if i am doing it in the right spot Ok sorry about this it seems only to happen if my Admin Kills another player with a bird i just tried with my player and tried to kill my other player and nothing happens . Tried again with admin and got the same error so its only when you do it with admin. Ok not sure what you think about this but maybe have the Gloves Use charges or something because that way players have to do something in order to 1. Stable there pets buy clicking the gloves makes it easy for bank Runs and really replacing the bag of sending (there would be no need for them) 2. Same thing as above when players send item to another player. (maybe have it so a Gump pops up when the Bird Drops the Item because if you are busy with fighting monster your friend may not realize you sent them something ) keeping in mind the gump size lol i dont want to fight and have this big box pop up *if this can even be done*
__________________
<a href="http://wappyworld.com/phpBB2/portal.php"</a> Last edited by mikeymaze; 08-25-2008 at 08:35 PM. |
|
|
|
|
|
#11 (permalink) |
|
Forum Novice
Join Date: Jan 2003
Location: Rochester NY
Age: 27
Posts: 208
|
Under those circumstances, it would likely have to be a null reference exception.
I'll bet it's a holdover from the old script (player had old gloves). Try removing the falconry scripts, restart the server and it will tell you no script was found, Delet the old items? say yes each time, the server will crash and reboot. Now shut it down, add the new scripts back in and start it up. That should fix it. This is a complete rewrite so I don't have good version checks that would eliminate items from the old system. Your players may not their items being deleted, but with a small playerbase, they should have the elite gloves in no time, and that's well worth it. They will enjoy the new system. Birds are harder to level, but offer more functionality.
__________________
•¤•¤•Arkryal •¤•¤• |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|