Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Eudemons Online > EO PServer Hosting
You last visited: Today at 06:25

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Help making NPC's sell items

Discussion on Help making NPC's sell items within the EO PServer Hosting forum part of the Eudemons Online category.

Reply
 
Old   #1
 
TheNum1AlterEgo's Avatar
 
elite*gold: 0
Join Date: Dec 2006
Posts: 32
Received Thanks: 0
Question Help making NPC's sell items

After decoding most of the the NPC's i found there are allot of useless event NPC's just standing around and i would like to make use of them by making them sell items so if someone has an idea on how to do this please help.

Thanks.
TheNum1AlterEgo is offline  
Old 02/04/2008, 07:04   #2
 
forcer's Avatar
 
elite*gold: 20
Join Date: Aug 2007
Posts: 606
Received Thanks: 561
see eudemonseller as an example for a sample shop
forcer is offline  
Old 02/04/2008, 09:38   #3
 
TheNum1AlterEgo's Avatar
 
elite*gold: 0
Join Date: Dec 2006
Posts: 32
Received Thanks: 0
Quote:
Originally Posted by forcer View Post
see eudemonseller as an example for a sample shop
I tried and for some reason im just not getting it LOL.

i understand the Id/id_next/id_nextfail but i know type plays a role in it and for selling items im not sure what that number should be i know 101 is normal text and 102 is to follow the number in the param. I also see that the Item number in in the data portion

and i understand the whole

e_money < selling amount
e_money += -selling amount



but i dont know what
1 0 50
gmlog/action_log 300,%user_name[%user_id],635,1207,Itemnumber,0,0,0,0,0
means

i know they are there but i also want know how they work cause if i am ganna be editing and maintaining a server i need to know what i am doing not just coping and pasting my way through it .

but the way it is organized it all over the place they and the ending section of the chain is in gibberish so i dont know what it says or does.
I understand most of it i just need a little guidance.
TheNum1AlterEgo is offline  
Old 02/05/2008, 04:19   #4
 
elite*gold: 0
Join Date: Dec 2005
Posts: 28
Received Thanks: 3
If you mean making the NPC just charge for certain items, such as the Merchant does with buying Redstones for 10mil each you'd do something like:

Code:
id    id_next    id_nextfail        type         data         param
1     2            0                 0101         0         "Hi,~i'll~sell~you~a~godstone~for~100mil~gold!"
2     3            0                 0101         0         "Do~you~want~to~buy~it?"
3     4            0                 0102         0         "Yes! 5"
4     0            0                 0102         0         "No~way! 0"
5     6            7                 1001         0         "money < 100000000"
6     0            0                 0101         0         "Hey!~You~must~have~100mil~moron!"
7     8            0                 0508         0         "1 0 50"
8     9            0                 1001         0         "money += -100000000"
10    0            0                 0501        724024     ""
jackyyll is offline  
Thanks
1 User
Old 02/05/2008, 04:37   #5
 
elite*gold: 0
Join Date: May 2007
Posts: 14
Received Thanks: 0
thanks for example
theeuguy is offline  
Old 02/05/2008, 06:27   #6
 
TheNum1AlterEgo's Avatar
 
elite*gold: 0
Join Date: Dec 2006
Posts: 32
Received Thanks: 0
Quote:
Originally Posted by jackyyll View Post
If you mean making the NPC just charge for certain items, such as the Merchant does with buying Redstones for 10mil each you'd do something like:
no i mean taking a npc that has no purpose. Like taking an NPC that just states some stupid fact and make them apart of the game by selling items

Example: Purchaser-Lucky by the grocery in Cronus his job is to spit useless info about the mines. I want to take those useless scum of NPC's and make them a functioning part of the game.

I understand most of it i can build the chain but ending it seems to be the issue.
TheNum1AlterEgo is offline  
Old 02/05/2008, 11:26   #7
 
elite*gold: 0
Join Date: Feb 2006
Posts: 327
Received Thanks: 204
umm see jackyls example.. i couldnt explain it much better than he did..

just edit the cq_npc and find the column called task0

in that column u put in the cq_action id.. in jackylls example the cq_action id stars with 1.. so you put in 1 in task0
nooneatall is offline  
Old 02/05/2008, 19:50   #8
 
forcer's Avatar
 
elite*gold: 20
Join Date: Aug 2007
Posts: 606
Received Thanks: 561
Quote:
Originally Posted by nooneatall View Post
umm see jackyls example.. i couldnt explain it much better than he did..

just edit the cq_npc and find the column called task0

in that column u put in the cq_action id.. in jackylls example the cq_action id stars with 1.. so you put in 1 in task0
you need also add task0=5 to cq_task to make it work.
forcer is offline  
Old 05/04/2008, 11:09   #9
 
elite*gold: 0
Join Date: Apr 2008
Posts: 32
Received Thanks: 3
Exclamation Help

Well after reading the posts in here I tried to change Purchaser Lucky to sell a 1380ep card. At first when I talked to him it would execute everything before I clicked the option. I then fixed that but now when I click it, it does nothing.

I have been looking at how the Eudemon Seller Alice works and copied the code from her as the base then made the codes different. I have added the file to this post that has everything I added into the databases.

Well does anyone know what I forgot to do or did wrong ?

Help would be gladly appreciated,
TrImAn
Attached Files
File Type: txt New NPC.txt (2.7 KB, 53 views)
TrImAn is offline  
Old 05/06/2008, 13:59   #10
 
Hellcryer's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 162
Received Thanks: 15
hey how i want change SpecialExpBall in NPC like 10k eps to 6k eps and also how
i want NPC sell paladin gear??
Hellcryer is offline  
Reply


Similar Threads Similar Threads
HOW CAN I CHANGE PRICE AND PUT ITEMS AT NPC'S
06/12/2011 - Metin2 - 4 Replies
Pls help me.I want to know what i need to do to change the price of items and put another items at npc's:handsdown:
Help NPC's Making [5165]
06/14/2010 - CO2 Private Server - 3 Replies
guys can anywone explain to me how to put NPc data's in NPcs.txt like what evey Number Mean's !
Suche nach IDs für Items NPC's ect
05/13/2010 - WoW Private Server - 0 Replies
HI, ich bin auf der suche nach einer aktuellen Liste von GM ID's für NPCs und Items, Spells ect. Wäre nett wenn mir einer eine solche Liste geben könnte oder mir sagen könnte wie ich mir so eine selber erstellen kann. Edit: Auch wären es toll wenn mir wer die aktuellen Mangos GM Befehle geben könnte oder sagen kann wie ich daran komme, also zb wie ich mich zu nem NPC Teleportiere oder gespawnte NPC lösche ect. Danke, mfg raider1337
[HELP]add items to npc's
09/09/2009 - Dekaron Private Server - 6 Replies
hii guys we made a pserver we just want to add items to pablos like wings ....and more soo plz how to do this?
Making NPC's
07/02/2009 - CO2 Private Server - 12 Replies
okay i want to make npc's have their own names like when i make a new npc an use his type as 88 which is WHman so his name comes up Warehouse man how cann i make his name come up VIPStoreKeeper?



All times are GMT +2. The time now is 06:25.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.