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!

Dynamic Race/Class System.

Ravenhart

Wanderer
Ok i think you don't understand me. Where the files are i know but i don't know what i paste into this files.
The edited base....cs are not included the zip-files.

Sorry for my bad engl.

Ravenhart
 

ucc

Wanderer
heh I still don't understand lol, do you mean what do you Edit in the stock armor and weapon files to add the class/race?


There is a Basearmor and Base weapons in the zip file.
 

EchoEcho

Sorceror
Very sorry, I am actually at school now. But as soon as I get home I will add the Base files to the zip file.

Sorry for the inconvience.
 

ucc

Wanderer
Well my shard just Crashed.....

This is what I done...

I made a Katana and gave it to a npc to hold and it gave me this error

By the Error I am thinking I done something worng with the base armor and weapon?

Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at Server.Items.BaseWeapon.CanEquip(Mobile from)
at Server.Mobile.EquipItem(Item item)
at Server.Network.PacketHandlers.EquipReq(NetState state, PacketReader pvSrc)
at Server.Network.MessagePump.HandleReceive(NetState ns)
at Server.Network.MessagePump.Slice()
at Server.Core.Main(String[] args)
 

Ravenhart

Wanderer
Hello,
the next Problem. If the player is finish with race and class normaly they teleported to the def location but he does'nt take that.
I get no errors.
What's wrong?

Ravenhart
 

ucc

Wanderer
what dont he take? it always worked for me other than what i was asking of the caps and shit which is still effed up
 

Ravenhart

Wanderer
ucc said:
what dont he take? it always worked for me other than what i was asking of the caps and shit which is still effed up

The Char will not be teleported to the def. Startlocation from his race and i don't know why. All is activated.

Ravenhart
 

tecnalta

Wanderer
Hi
I'm using this code, and changing many thinks and gumps, when I finish, if someone want I post here the script.

One question: isen't slow find every time for one item in array of world itens??
This array will be very bery big..!!
 

Ravenhart

Wanderer
Ok i'm ready with deduces this Race/class system with the AllSpellSystem from Lucid Naqual. All Spellbooks are modifies to work with the Spellbookrestriction and much more changes. Details and ideas per pm please.

Ravenhart
 

Rslape2002

Wanderer
Errors

Im getting a couple Errors so can someone please help me?

RunUO - [www.runuo.com] Version 1.0.0, Build 36918
Scripts: Compiling C# scripts...failed (2 errors, 5 warnings)
3: (line 196, column 13) The given expression is always of the provided

('Server
.Mobile') type
- Error: Scripts\Items\Skill Items\Magical\Spellbook.cs: CS1502: (line 585,

col
umn 28) The best overloaded method match for

'Server.Spells.SpellRestrictions.Ch
eckRestrictions(Server.Mobile, Server.Spells.School)' has some invalid

arguments

- Error: Scripts\Items\Skill Items\Magical\Spellbook.cs: CS1503: (line 585,

col
umn 71) Argument '2': cannot convert from 'Server.Items.Spellbook' to

'Server.Spells.School'
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or
 
Top