Problem when creating items

07/21/2011 11:58 korrex#1
Well basically I try to create items and it fails all the time. The script executes in the game server and sometimes it works and most of the time it doesn't or just gives the item to the wrong character.

I've tried executing in the DB while logged in and while logged off but it always returns 0 which is that it didn't manage to execute it. (I'm guessing)

Any ideas EPvper's?

I'm using the latest release by nCarbon.
07/21/2011 12:00 RoflcopterGoesSoiSoiSoi#2
#learn_all_skill("targetchar")
...insertitem...
#sv("lv", "154", "targetchar")

-important- if character is already 300...
#sv("lv", "154", "targetchar")
#learn_all_skill("targetchar")
...insertitem...
#sv("lv", "154", "targetchar")

..etc...i assume this is what you're trying to do. O.o good luck.
07/21/2011 12:04 korrex#3
Quote:
Originally Posted by RoflcopterGoesSoiSoiSoi View Post
#learn_all_skill("targetchar")
...insertitem...
#sv("lv", "154", "targetchar")

-important- if character is already 300...
#sv("lv", "154", "targetchar")
#learn_all_skill("targetchar")
...insertitem...
#sv("lv", "154", "targetchar")

..etc...i assume this is what you're trying to do. O.o good luck.
Well, no I didn't even know that existed, I'm trying to get #insert_item to work.
It works sometimes but most of the time it doesn't.
07/21/2011 12:30 s0ul37#4
Quote:
Originally Posted by korrex View Post
Well, no I didn't even know that existed, I'm trying to get #insert_item to work.
It works sometimes but most of the time it doesn't.
Thats why rofl said, use learn all skill command then use insert item command.
07/21/2011 13:08 korrex#5
Quote:
Originally Posted by s0ul37 View Post
Thats why rofl said, use learn all skill command then use insert item command.
I did that, still no results.

EDIT: I got it to work using Rofl's command.
Thanks for the help.
Thread can be locked.