130 Katana wont equip

04/18/2009 15:48 LetterX#46
The server I am using is a heavily modified LOTF server...courtesy of tao4229 <3
It wasn't PowerSource...it's started as just your basic LOTF server.

Here is the picture requested:
[Only registered and activated users can see links. Click Here To Register...]
04/18/2009 15:52 tao4229#47
Imi, you have my 3rd source LOL
04/18/2009 17:04 Zatoichi#48
ok! i was up until 4 am this morning, testing my components. The client i have modified is perfectly fine, it will start under a new server with no issues. I get the first error when i try to add the katana to the server. The tables are inherited for me, so the MYSql part is done too, with no errors. It isnt until i change the files in the server to bring in the weps. and it seems like once i do one of these changes, it ruins the server, in that if i delete the edit, the server stays bugged. The 2 files i have been editing in the server are ItemAdd.ini and the ItemstoNameID.ini I'll be doing some testing to figure out in more detail what is giving me this error. and very cool letterX! My guess is this would have been working 4 days ago if i knew what i was missing or doing wrong on the server side.Oh well, at least you all give me hope ! XD.

edit - clarification - what i mean is, my client is fully prep'd for the katana, my DB is fully prep'd for the katana. My source is new and untouched, no edits. Like this the game functions normally, i can buy and equip/unequip standard gears. When i change the AddItem.ini or the ItemNameToID.ini, to bring the katana into the game, it bugs, and it bugs all gears in game, exactly the same way. I can equip it, and cant unequip it, and get a few errors. without alex's code i get the item use error in game, with it, no error about use, but still glitched. I been over the numbers for the ID's. The last sword is (kingofswords) 420339, my katana starts at 420340 and runs thru 420679 i think (off hand). there would be conflicts in the AddItem.ini, at 444400, 444500, and 444600, (my first katana number n this file is 444340, 444= one hander 340 is the tag) but since those were blank with no stats i erased them to allow the katana to slip in unconflicted. Do we need to add the stats to the COItems.txt, in the debug folder? Cuz i did that, and it didnt help, then reverted back. I dunno =/


2nd Edit -
Ok, now i can equip and unequip it with no errors at all, i can attack with it, drop it etc. I just cant see it when it is in my hand. as in, the sword is invisible. Now, tho that makes a cool ninja wep (an invisible sword) it isnt right. My mesh and textures are all in the correct folder(s). I'll update if anything changes.



3rd edit - Am i just having this issue because i used to newest CO's mesh and texture for the katana? I just dont get it.

4th edit - did it. Thanks all-
04/19/2009 02:38 flaMe~#49
Quote:
Originally Posted by Zatoichi View Post
ok! i was up until 4 am this morning, testing my components. The client i have modified is perfectly fine, it will start under a new server with no issues. I get the first error when i try to add the katana to the server. The tables are inherited for me, so the MYSql part is done too, with no errors. It isnt until i change the files in the server to bring in the weps. and it seems like once i do one of these changes, it ruins the server, in that if i delete the edit, the server stays bugged. The 2 files i have been editing in the server are ItemAdd.ini and the ItemstoNameID.ini I'll be doing some testing to figure out in more detail what is giving me this error. and very cool letterX! My guess is this would have been working 4 days ago if i knew what i was missing or doing wrong on the server side.Oh well, at least you all give me hope ! XD.

edit - clarification - what i mean is, my client is fully prep'd for the katana, my DB is fully prep'd for the katana. My source is new and untouched, no edits. Like this the game functions normally, i can buy and equip/unequip standard gears. When i change the AddItem.ini or the ItemNameToID.ini, to bring the katana into the game, it bugs, and it bugs all gears in game, exactly the same way. I can equip it, and cant unequip it, and get a few errors. without alex's code i get the item use error in game, with it, no error about use, but still glitched. I been over the numbers for the ID's. The last sword is (kingofswords) 420339, my katana starts at 420340 and runs thru 420679 i think (off hand). there would be conflicts in the AddItem.ini, at 444400, 444500, and 444600, (my first katana number n this file is 444340, 444= one hander 340 is the tag) but since those were blank with no stats i erased them to allow the katana to slip in unconflicted. Do we need to add the stats to the COItems.txt, in the debug folder? Cuz i did that, and it didnt help, then reverted back. I dunno =/


2nd Edit -
Ok, now i can equip and unequip it with no errors at all, i can attack with it, drop it etc. I just cant see it when it is in my hand. as in, the sword is invisible. Now, tho that makes a cool ninja wep (an invisible sword) it isnt right. My mesh and textures are all in the correct folder(s). I'll update if anything changes.



3rd edit - Am i just having this issue because i used to newest CO's mesh and texture for the katana? I just dont get it.

4th edit - did it. Thanks all-

You didn't do the mesh thingy in 3dObj.ini did you? :P
04/19/2009 03:03 Zatoichi#50
actually, it just wouldnt take those numbers...i guess...

I then hoped into my 3dtexture.ini and 3dobject.ini and replaced the call for the van sword to the metalkatana c3 and dds. was really that easy. it instantly took. everything was fine.

It will work for now, but it doesnt bring the katana in as a new wep, which is what i wanted, it brings it in as a replacement. Im replacing the hammers with them atm. Will move on to reskinning my samurai and my ninja.

I dont know why that didnt work above. literally everything was correctly pointing to each other. Only an omission could have caused what was happeneing (like something i didnt know that also may have been needed to be done). The only thing i can think of is something in the client knows the range of weps, and when i stepped outside of it, it wouldnt allow it. Oh well - all's well that ends well. I got my katana, no need for Alex's code (thanks again alex!). I am guessing this is what Tao did, since it was prolly the easiest way once i thought of it.
04/19/2009 03:06 flaMe~#51
Did you get the effects working?
04/19/2009 03:54 Zatoichi#52
yes, it inherits the weapons effect. So as the van sword it had the glow, and it looked nice. as the hammer, it's glow is centered like a ball on the middle of the blade. fixable. =) I'll just take a look at all the glows and try to pick a good one.
04/19/2009 04:03 tao4229#53
Why dont you just use the original katana glows?
04/19/2009 04:08 Zatoichi#54
i am. =)

i still have the old jump, and the katana doesnt mount on my back. Is this what you did tao, was just replaced a wep? Once i thought to try it took only a few seconds to do, certainly was as easy as you made it sound, just wasnt what i was looking to do, even tho im happy to replace that hammer. Does anyone use those damn things? XD
04/19/2009 04:14 flaMe~#55
They might have, but it sounds as though you're making alot more... samurai's etc. so, i reckon most people will want them. :)

Doesn't really matter. I use axes though..
04/19/2009 04:26 Zatoichi#56
samurai is already fully implemented too (incl. dual wield), and with the katana working all i have to do are the armors.

the 2 Ninja classes are started, and they exist with NPC's in two new locations in TC, but i still need to do their skills and a bit more (armors are next XD). I found two little unused rooms that are perfect for the promotions. I'll work on making a new map for those rooms, now that i am over this katana hurdle.
04/19/2009 04:40 flaMe~#57
Make a new thread, i'd like to discuss your "creation of a map", i'm quite interested.
04/19/2009 04:46 Zatoichi#58
not much to talk about yet. Unknownone wants to see a map before he takes any kind of step. this katana shit has me late too, i shoulda had it done friday. damn coding....

but yeah, im messing with the wep glows now, once the sword is done, it'll be time for the map, before i lose Unknownone's interest in the subject.
04/19/2009 04:48 flaMe~#59
Well, when there is something.. I'd like to see it too ^^

Alright, off for some parkour training... Later
04/19/2009 07:36 tere12#60
Flame add me to msn
I tell u how to add all ninja items so u can use them and u see other armors :)
[Only registered and activated users can see links. Click Here To Register...]