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!

Lucid Nagual's << Advanced Archery >>

Manu

Knight
I dont know what you did in the C update, but now it crashes my testshard every time I fire an arrow that is not in a quiver...
 

blueocean

Wanderer
ok solved with kaiovas fix and using middletorso, so when you have a quiver the bow uses the arrows inside the quiver, and when you don't have it the bow uses arrows in your backpack :)
thanks kaiovas ^^
 

psycomantis

Wanderer
trying to compile this with 2.0

okay id really love to use this system so i started compiling it for Runuo2.0


after getting rid of the "standard" 2.0 errors this is what im getting :


Code:
+ Items/Skill Items/Magical/Spellbook.cs:
CS1502: Line 808: The best overloaded method match for 'server.Items.BaseRunicTool.ApplyAttributesTo<Server.Items.Baseweapon, bool, int, int, int, int>' has some invalid arguments
CS1503: Line 808: Argument '1': cannot convert from 'Server.Items.Spellbook' to 'server.Items.Baseweapon'

+ Misc/Lootpack.cs:
CS1502: Line 667: The best overloaded method match for 'server.Items.BaserunicTool.ApplyAttributesTo<Server.items.Baseweapon, bool, int, int, int, int>' hast some invalid arguments
Cs1503: Line 667: Argument '1': Cannot convert from 'Server.Items.Basehat' to 'Server.items.Baseweapon'

+ BaseQuiver.cs:
CS0200: Line 80: Property or indexer 'Server.Item.TotalWeight' cannot be assigned to -- it is read only
CS0200: Line 97: Property or indexer 'Server.Item.TotalWeight' cannot be assigned to -- it is read only


i have to note that my Spellbook.cs and Lootpack.cs are not modified yet (=original 2.0 files)
and there were no changes made yet in basequiver
 
i have to note that my Spellbook.cs and Lootpack.cs are not modified yet (=original 2.0 files)
and there were no changes made yet in basequiver
Huh???????????
Spellbook.cs and Lootpack.cs are not needed for this system.

I will be working on this soon. I'm thinking of changing a few things :)
 

psycomantis

Wanderer
hm

well only thing i can think of is that theres something wrong in BaseRunictool.cs but again i have no idea :p

so youre working on a 2.0 compatible version ? would save me a lot of trouble ^^
 
Update:

OK I'm in a BIG hurry. I just threw together a 2.0 update but haven't had time to test it. I didn't update this in the first post I was wondering if someone would test it for me????

Many thanks in advance!!!!!!!!!!!!!!!!!

Here it is and gotta get ready for work. I will check for a report when I get back in the morning. Cya then....Oh and I thank all of you for your patience.
 

Attachments

  • Lucid Nagual's Advanced Archery [2.0] Beta.zip
    50.2 KB · Views: 35

chocomog

Wanderer
Perfect so far. just a small warning but loads fine checking items now.
Warning:
Server.Items.BaseTub - no serilaztion constructor
so far so good.
great work.
 

dragonlady

Sorceror
yeahhhhh i'lll test it woohoo:p

Yeah im getting the same warning too, :(

Scripts: Verifying...Warning: Server.Items.BaseTub
- No serialization constructor
 

dragonlady

Sorceror
i got a server crash :(

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: 6/30/2006 2:11:38 AM
Mobiles: 3414
Items: 105938
Clients:
- Count: 2
+ 69.195.85.205: (account = xxx) (mobile = 0x4 'Lara Croft')
+ 190.49.97.2: (account = xxx) (mobile = 0x1217 'Legolas')

Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at Server.Items.CBaseRanged.OnFired(Mobile attacker, Mobile defender)
at Server.Items.CBaseRanged.OnSwing(Mobile attacker, Mobile defender)
at Server.Mobile.CombatTimer.OnTick()
at Server.Timer.Slice()
at Server.Core.Main(String[] args)
 

psycomantis

Wanderer
yea...

same for me i got a crash aswell when attacking a creature ....

but since it is my first crash ever - where do i find the crash logs ^^ ?
 

dragonlady

Sorceror
You can find ur crash log's in ur main Runuo 2.0 Folder where u have ur Script's - Data - Saves - logs - backup there should be a crash log text :)

funny wish i knew how to take a screen shot b/c my quiver's look like Stone Wall's too lol
 

psycomantis

Wanderer
haha

funny... mine were stonewall corner pieces :D


Code:
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: 30.06.2006 08:38:03
Mobiles: 29
Items: 80052
Clients:
- Count: 1
+ 127.0.0.1: (account = youwish) (mobile = 0x7 'Olsyke')

Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
   at Server.Items.CBaseRanged.OnFired(Mobile attacker, Mobile defender)
   at Server.Items.CBaseRanged.OnSwing(Mobile attacker, Mobile defender)
   at Server.Mobile.CombatTimer.OnTick()
   at Server.Timer.Slice()
   at Server.Core.Main(String[] args)

well my Os is xp actually....
 
Crap :)

Oh I'm really sorry. I forgot to put null checks back in. Sorry about the crashes. Here try this one and I will look into the
ItemID issue on the quivers. Many thanks to those who tested it :)
 

Attachments

  • CBaseRanged.cs
    13.5 KB · Views: 37

psycomantis

Wanderer
well

im gettin so many deserialisation errors including fatal exceptions im basicly whiping my shard ^^ item xyz failed to load --> delete y/n delete all y/n fatal exception, restart next item.... :p
 
psycomantis

im gettin so many deserialisation errors including fatal exceptions im basicly whiping my shard ^^ item xyz failed to load --> delete y/n delete all y/n fatal exception, restart next item.... :p
Read post one. I will try and fix the serl/deserl but not at this time.
 

psycomantis

Wanderer
hmm

well the first post doesnt get me far... what script is that where you explain the deserialation cant seem to find that commented out line in Cbaseranged.. but ill keep looking
 
Top