RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

[RunUO 2.0 RC1] Lucid's <<_Advanced Archery_>>

Got my copy working just fine with help from the diptub changes which psycomantis made. For which I was close to fixing but he beat me to it (never thought to change the static to override) that did the trick for me and been tweeking it a little since, with a blowgun and darts for weapon and ammo still working on it, but, so far my son likes it..

btw Lucid awsome job on the script

and thnkx to psycomanis for his input
 
Got my copy working just fine with help from the diptub changes which psycomantis made. For which I was close to fixing but he beat me to it (never thought to change the static to override) that did the trick for me and been tweeking it a little since, with a blowgun and darts for weapon and ammo still working on it, but, so far my son likes it..

btw Lucid awsome job on the script

and thnkx to psycomanis for his input
Psyco's tubs are incorrect. But do whatever you you feel you can get by with I will be providing an update soon. It will also have the BaseQuiver fix.
 
hmm yea the text you quoted from me really diddnt solve anything... still it was dragonladys baserunictool.cs that made it work for me.. compare the one in the 2.0 package to yours -> has like 6k difference in size (wich i honestly do not know where they come from and was too lazy to look yet)

... anyways i am going to change your scripts to actually also hue the fired arrows (atleast gonna try) maybe wanna work on this togehter ?
I couldn't figure out how you were getting these errors and d/l package 2 and noticed I didn't update it. The one I just posted above is 100% identical to Dragon Lady's. So I'm not sure what you are talking about there. I'm just glade I got it figured out. The dip tubs you post along with many other scripts are not correct. I was trying to create base items to shorten code in the BaseQuiver and CBaseRanged.cs.
 

dragonlady

Sorceror
i tryed adding bolt's to the quiver and got this crash :confused:

Server Crash Report
===================

RunUO Version 2.0, Build 2357.32527
Operating System: Microsoft Windows NT 5.1.2600 Service Pack 2
.NET Framework: 2.0.50727.42
Time: 7/1/2006 11:19:27 PM
Mobiles: 3120
Items: 107159
Clients:
- Count: 2
+ 69.195.85.205: (account = xxxx) (mobile = 0x4 'Lara Croft')
+ 70.54.52.160: (account = xxxx) (mobile = 0xB72 'Ultra Light')

Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at Server.Items.BaseQuiver.CheckItem(Item item)
at Server.Items.BaseQuiver.OnDragDropInto(Mobile from, Item item, Point3D p)
at Server.Item.OnDroppedInto(Mobile from, Container target, Point3D p)
at Server.Item.DropToItem(Mobile from, Item target, Point3D p)
at Server.Mobile.Drop(Item to, Point3D loc)
at Server.Network.PacketHandlers.DropReq(NetState state, PacketReader pvSrc)
at Server.Network.MessagePump.HandleReceive(NetState ns)
at Server.Network.MessagePump.Slice()
at Server.Core.Main(String[] args)
 
dragonlady

i tryed adding bolt's to the quiver and got this crash :confused:

Server Crash Report
===================

RunUO Version 2.0, Build 2357.32527
Operating System: Microsoft Windows NT 5.1.2600 Service Pack 2
.NET Framework: 2.0.50727.42
Time: 7/1/2006 11:19:27 PM
Mobiles: 3120
Items: 107159
Clients:
- Count: 2
+ 69.195.85.205: (account = xxxx) (mobile = 0x4 'Lara Croft')
+ 70.54.52.160: (account = xxxx) (mobile = 0xB72 'Ultra Light')

Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at Server.Items.BaseQuiver.CheckItem(Item item)
at Server.Items.BaseQuiver.OnDragDropInto(Mobile from, Item item, Point3D p)
at Server.Item.OnDroppedInto(Mobile from, Container target, Point3D p)
at Server.Item.DropToItem(Mobile from, Item target, Point3D p)
at Server.Mobile.Drop(Item to, Point3D loc)
at Server.Network.PacketHandlers.DropReq(NetState state, PacketReader pvSrc)
at Server.Network.MessagePump.HandleReceive(NetState ns)
at Server.Network.MessagePump.Slice()
at Server.Core.Main(String[] args)
I stated that this could happen and the reason you haven't seen another update yet is cause I'm trying to rebuild the BaseQuiver and CBaseRanged.
 

chocomog

Wanderer
Works 90%

oki all the arrows work with no crashes. but when you drop into the quivver you get this crash.
*********************************
Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at Server.Items.BaseQuiver.CheckItem(Item item)
at Server.Items.BaseQuiver.OnDragDropInto(Mobile from, Item item, Point3D p)
at Server.Item.OnDroppedInto(Mobile from, Container target, Point3D p)
at Server.Item.DropToItem(Mobile from, Item target, Point3D p)
at Server.Mobile.Drop(Item to, Point3D loc)
at Server.Network.PacketHandlers.DropReq(NetState state, PacketReader pvSrc)
at Server.Network.MessagePump.HandleReceive(NetState ns)
at Server.Network.MessagePump.Slice()
at Server.Core.Main(String[] args)
**********************************
so as long as you dont use the quivver all is good.
Here is what I am useing.
View attachment 8234

I hope this helps all of you.
 

Attachments

  • [2.0]Lucid Nagual's Advanced Archery Beta2.zip
    49.9 KB · Views: 101
oki all the arrows work with no crashes. but when you drop into the quivver you get this crash.
*********************************
Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at Server.Items.BaseQuiver.CheckItem(Item item)
at Server.Items.BaseQuiver.OnDragDropInto(Mobile from, Item item, Point3D p)
at Server.Item.OnDroppedInto(Mobile from, Container target, Point3D p)
at Server.Item.DropToItem(Mobile from, Item target, Point3D p)
at Server.Mobile.Drop(Item to, Point3D loc)
at Server.Network.PacketHandlers.DropReq(NetState state, PacketReader pvSrc)
at Server.Network.MessagePump.HandleReceive(NetState ns)
at Server.Network.MessagePump.Slice()
at Server.Core.Main(String[] args)
**********************************
so as long as you dont use the quivver all is good.
Here is what I am useing.
[2.0]Lucid Nagual's Advanced Archery Beta2.zip

I hope this helps all of you.
You don't have the scripts to make it work proper just hang in there. This weight reduction issue is keeping me from releasing the update.
 
Update (as promised):

~Updated to Beta 3~

~Located in post #1 for download.~

*Fixed the weight reduction issue with the BaseQuiver.
*Fixed the Quiver ID's.
*Fixed the tubs so that they use a base reference.
*Fixed the arrow and bolts so that they use a base reference.
*Fixed the BaseTub warning.
*Reduced a much code as possible.
*NO MORE NULL CRASHES!!!

Known Issues that I am working on still:
*Ammo isn't being used from the quiver (got an idea for the fix).
*The quivers are supposed to only allow one bow but allows many.
*I have tried and keep failing with the serialization fix, so I may use the CBaseRanged to correct the issue.
 
Attention:

~Updated to Beta 4~

I'm really excited about this release. I was able to do some major overhauling. I had ideas from the last several months and was able to use them in this release. I have eliminated serialization in the distro bows and reduced the amount of editing that was needed in them. The CBaseRanged is now the major backbone behind Advanced Archery. The BaseQuiver has been updated and will support the new weight reduction that I introduced in the last beta version. The weight reduction will be displayed properly (GetProperties) in the future update. Take a looksie at the code and I'm sure you will be a excited as I am. If there are any problems or if you find a better method of coding you are welcome to report it. Many thanks for your patience.
 

dragonlady

Sorceror
Everything work's awesome, ty sooo much for all ur hard work into this system :), only problem i see is the bow's seem to fire slowwww, but it don't have anything to do with ur system, i'll have to go look into this somewhere to fix this :) Karma babes:p
 
dragonlady

Everything work's awesome, ty sooo much for all ur hard work into this system :), only problem i see is the bow's seem to fire slowwww, but it don't have anything to do with ur system, i'll have to go look into this somewhere to fix this :) Karma babes:p
I haven't found what is causing the bows to fire so slow. I will continue to look into the matter. And thanks I only had one day off this week and I have dedicated it to script upgrades. :)
 

psycomantis

Wanderer
hm i just loaded the newest update and it compiled perfectly, but my bows dont shoot ingame now... anyone else experiencing this or is it my fault somewhere ? using rev64


EDIT* okay well it seems to work if you put on a quiver... did i miss that this is intended somewhere ?
 
psycomantis

hm i just loaded the newest update and it compiled perfectly, but my bows dont shoot ingame now... anyone else experiencing this or is it my fault somewhere ? using rev64


EDIT* okay well it seems to work if you put on a quiver... did i miss that this is intended somewhere ?
The bows shoot super slow and I am working on the fix. Once that issue is resolved the system prolly won't need to be updated much.
 

tramper

Sorceror
i got this eror
Code:
RunUO - [www.runuo.com] Version 2.0, Build 2357.32527
Core: Running on .NET Framework Version 2.0.50727
Scripts: Compiling C# scripts...done (0 errors, 0 warnings)
Scripts: Compiling VB.NET scripts...no files found.
Scripts: Verifying...done (2213 items, 543 mobiles)
Regions: Loading...done
World: Loading...An error was encountered while loading a saved object
 - Type: Server.Items.Bow
 - Serial: 0x40018378
Delete the object? (y/n)
After pressing return an exception will be thrown and the server will terminate

Error:
System.Exception: Load failed (items=True, mobiles=False, guilds=False, type=Ser
ver.Items.Bow, serial=0x40018378) ---> System.Exception: ***** Bad serialize on
Server.Items.Bow *****
   at Server.World.Load()
   --- End of inner exception stack trace ---
   at Server.World.Load()
   at Server.ScriptCompiler.Compile(Boolean debug)
   at Server.Core.Main(String[] args)
This exception is fatal, press return to exit
 
Top