[Dev] Rune flyff

Status
Not open for further replies.
Re: Rune flyff

I figured out how to add items to a NPC shop while the server is online.

Command: >ats <slot 1-4> <item ID>
You have to focus a NPC with a shop first. Then you type the command (for example >ats 2 3229 to add power dice 4 to the NPC shop)
and i think there is another command, >atsn <itemname> <slot 1-4>
There are many commands like that lol >ats, >ats1, >ats2 etc You can find how everything works in the source itself
 
Re: Rune flyff

for adding/removeing items from npc shops you have to select the npc, than type these commands
>cls [slot= 1..4] clears the shopslot of the selected npc
>ats [slot] [itemid] adds an item to the shopslot
>dfs [slot] [itemid] deletes the item from the shopslot
>atsn [name] works like the >search [name] command, adds the item to the shop ONLY if theres only 1 found item

(the ats1, ats2, ats0 was just there to speed up filling up the shops, dont use them:P)
Also. Double check before you add any itemid, adding a nonexisting item to the shop migth crashes the client when you view the shop

Also some other commands:
>level [level=1..150] changes your level
>job [job=0..15] changes your job
>mob [monsterid] [number] [is_agro] spawns mobs
>obj [objid] spawns objects (be carefull with this, if you spawn a wrong object the only way to remove it is restarting the server. if you arent sure, do not spawn objects)
>music [number] changes the music
>bank shows the bank
>wh shows the warehouse
>exp [mult] sets the expmultiplier
>skillexp [mult] sets the skillexp multiplier (only integer values please, so 2.5x wont work)
>partyexp [mult] sets the partyexp multiplier
>notice [text] posts a notice
>effect [effectid] does some effekt like when you recharge your hp/mp. if you give a wrong effectid everyone around you includeing yourself will have their client crashed so be carefull with that:P
>money [money] gives you money
>model [modelid] changes your modelid, it messes up your stats (like maxhp etc), so dont use it.
>guildcreate creates a guild
 
Re: Rune flyff

Thank you very much, it worked!
Haww, I MUST learn C++, I'm really keen on adding something to this server... hrhr :D


EDIT: By the way, is there a way to delete an item from the inventory? I dropped an unknown item, the client crashes now, lol.
 
Re: Rune flyff

Thank you very much, it worked!
Haww, I MUST learn C++, I'm really keen on adding something to this server... hrhr :D


EDIT: By the way, is there a way to delete an item from the inventory? I dropped an unknown item, the client crashes now, lol.
Trough the DB itself
 
Re: Rune flyff

for now, there isn't. you can clear your whole inventory by
update characters set inventory=null where id=[your char's id here];

will add that to that sample on first page later
 
Re: Rune flyff

That's also OK, thank you for your solution mate!
Btw, it would be much better if you would set up a svn for your project, that would make things much easier too, not? ;)
 
Re: Rune flyff

Semih and I already are already running and deving these files.
They're very stable, but teleport seems to crash teh server.

We've got 40-50 people online, probably even more, running on a 2GHZ P4 with almost no lag at all.
 
Re: Rune flyff

Semih and I already are already running and deving these files.
They're very stable, but teleport seems to crash teh server.

We've got 40-50 people online, probably even more, running on a 2GHZ P4 with almost no lag at all.
Reached even 100 after the job quests were added ingame, it was awesome lolz.
 
Re: Rune flyff

Semih and I already are already running and deving these files.
They're very stable, but teleport seems to crash teh server.

We've got 40-50 people online, probably even more, running on a 2GHZ P4 with almost no lag at all.

is that right 2ghz pentium 4?
ram?

wow I'm impressed got to download this file XD


I want to play the test server gonna install v6 1st
 
Re: Rune flyff

duotone great files thanks!!!but i found annoying bug...
when i do high stats like 10k in everything i MISS alot why?
 
Status
Not open for further replies.
Back