Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Eudemons Online > EO PServer Hosting > EO PServer Guides & Releases
You last visited: Today at 22:49

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

Advertisement



[Guide] Create a real shop(not text based) with custom npc by cyberghoser1

Discussion on [Guide] Create a real shop(not text based) with custom npc by cyberghoser1 within the EO PServer Guides & Releases forum part of the EO PServer Hosting category.

Reply
 
Old   #1
 
cyberghoser1's Avatar
 
elite*gold: 0
Join Date: Jan 2006
Posts: 504
Received Thanks: 1,069
Exclamation [Guide] Create a real shop(not text based) with custom npc by cyberghoser1

Hello friends, today i will show you how to create a nice shop, a real one, not a text based npc seller ;-)

It is quite easy to do, you just have to care about the ID's

Let's start:

Part I: Database

First we have to create a custom NPC, go into your database and open cq_npc, create a new not used ID, in my example it will be 100004, here i show you the right way to add it.

paste in cq_npc
Code:
[COLOR="Red"]100004[/COLOR]	0	0	Guilda	123	1000040	0	0	-1	1000	192	341	[COLOR="Blue"]900001020[/COLOR]	0	0	0	0	0	0	0	0	1	0	0	ΞžΞ®	0	0	0	0	1	0	0	0	0	0

NPC ID
cq_task ID
type=123 (Green baloon cursor)


Explanation: The NPC ID will be used also to create the shop with Funhacker's Tool shop.dat editor. The cq_task id must be the same as the cq_action id for this npc, don't worry everything will be easy to understand.

once you have pasted the above cq_npc now we are gonna to to make the task for it, so obviously we are going to open cq_task. Again create a non used id, beware that the same id will be used on cq_action so check on there too that the id is not used.

paste in cq_task
Code:
[COLOR="Blue"]900001020[/COLOR]	[COLOR="Blue"]900001020[/COLOR]	0			0	0	999	-100000	100000	999	0	0	-1	0
as you can see the cq_task id match the one used on the npc, so we are working the right way ;-)

Now we have to create the cq_action for this npc, easy also in here, we will use the same id as cq_task.

paste in cq_action
Code:
[COLOR="Blue"]900001020[/COLOR]	0	0	[COLOR="Red"]1046[/COLOR]	1
Same as cq_task id
Type=1046

Also we have to add those items we are going to sell on cq_goods table, the items are those i use in my example:

paste in cq_goods
Code:
9999995	[COLOR="Red"]100004[/COLOR]	[COLOR="Blue"]420084[/COLOR]
9999994	[COLOR="Red"]100004[/COLOR]	[COLOR="Blue"]420074[/COLOR]
9999996	[COLOR="Red"]100004[/COLOR]	[COLOR="Blue"]420094[/COLOR]
Shop ID(Same as NPC ID)
Items to be sell ID's (See the picture bellow Client Edits)
9999994 to 9999996 = custom ids needed for cq_goods

You follow? Now the Database side is done, we have now to make our shop and customize our npc to look better than those ugly blue 100npcs.

Part II: Client Edits

Very easy in here also, in my example i used 100004 as id, so get and open your shop.dat file.



If you want the shop to be EP set the shop type to 5 as the pic below, for gold shop set type to 2 like the above pic Note: EP Shop is buggy atm, have to see why items cannot be bought!



you can see on the above picture that the shop id is the same as the npc created.

Ok now save your shop.dat

Now we are gonna make our npc custom with a title and a lookface. For the npc to have a lookface we can see in the above cq_npc entry that it uses lookface 1000040, easy here, the id of the npc is 100004, to have a lookface we have to calculate npcid*10 so 100004*10 = 1000040, this is valable for all npcs, so open up your npc.ini file and add this:

Code:
[NpcType100004]
Name=Guilda
SimpleObjID=745
StandByMotion=0745000100
BlazeMotion=0745000190
BlazeMotion1=0700000190
BlazeMotion2=0700000190
RestMotion=0745000101
Effect=charm03-999
ZoomPercent=100
Note=WeaponsSeller
where [NPCType100004] = id of the npc
SimpleObjID=745 (Shopping mall lookface)
Effect=charm03-999 (find more here: )
Name=Name of the NPC
Note=What it sells.

Congratulations your custom shop is ready and its beautifull!:



Hope you like it, as i always say maybe there are better, easier ways, i'm just sharing what i do the way i do it.

The ID's I am using are custom and do not exist on my database, so please, make a backup of yours first, check that the ID's are not used and go on, create as many shops you want, until the ID's are new you don't have to worry!

Guide by cyberghoser1
cyberghoser1 is offline  
Thanks
45 Users
Old 03/17/2010, 13:08   #2
 
PraDevil[ELITE]'s Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 1,486
Received Thanks: 919
really helpfull about cq_action!! thanks
PraDevil[ELITE] is offline  
Old 03/17/2010, 14:31   #3
 
elite*gold: 0
Join Date: Aug 2009
Posts: 347
Received Thanks: 114
ep or gold NPC?
and how to set in ep?
matrix89 is offline  
Thanks
1 User
Old 03/17/2010, 14:35   #4
 
cyberghoser1's Avatar
 
elite*gold: 0
Join Date: Jan 2006
Posts: 504
Received Thanks: 1,069
Yes there is something to do to change that, on the shop.dat tool, set type to 5 for EP Shop and to type 2 for Gold, attention once done you cannot change the type from the tool.
cyberghoser1 is offline  
Thanks
1 User
Old 03/17/2010, 16:15   #5
 
~WARNING~'s Avatar
 
elite*gold: 5
Join Date: Feb 2010
Posts: 1,040
Received Thanks: 442
thanks =P this will come in handy for my next server

*Added to
~WARNING~ is offline  
Thanks
1 User
Old 03/17/2010, 16:45   #6
 
cyberghoser1's Avatar
 
elite*gold: 0
Join Date: Jan 2006
Posts: 504
Received Thanks: 1,069
Thanks, also edited first post to clarify how to set if the shop is EP or Gold.
cyberghoser1 is offline  
Thanks
2 Users
Old 03/17/2010, 17:21   #7
 
King_Arthur's Avatar
 
elite*gold: 246
Join Date: Jan 2008
Posts: 1,712
Received Thanks: 896
Always nice to see a well formatted guide. Good job.
King_Arthur is offline  
Old 03/17/2010, 19:51   #8
 
hio77's Avatar
 
elite*gold: 20
Join Date: Jun 2006
Posts: 1,759
Received Thanks: 827
have you tested that ep shop ... there was issues when i tried it and i know funhacker and acme had issues with ep shops at the time as well ... idk if they worked it out ... but i tried every shop type and stuff and it never worked

well written guide
hio77 is offline  
Thanks
1 User
Old 03/17/2010, 19:55   #9
 
Faith.'s Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 558
Received Thanks: 145
Really Simple , Step by Step for newbies like me. lol
Faith. is offline  
Old 03/17/2010, 20:54   #10
 
King_Arthur's Avatar
 
elite*gold: 246
Join Date: Jan 2008
Posts: 1,712
Received Thanks: 896
Quote:
Originally Posted by hio77 View Post
i know funhacker and acme had issues with ep shops at the time as well ... idk if they worked it out ...
Never worked it out and havn't tried since.
King_Arthur is offline  
Old 03/17/2010, 22:06   #11

 
magewarior2's Avatar
 
elite*gold: 20
Join Date: Mar 2008
Posts: 1,548
Received Thanks: 817
Nice!! tnxs for this.
magewarior2 is offline  
Old 03/17/2010, 22:34   #12
 
cyberghoser1's Avatar
 
elite*gold: 0
Join Date: Jan 2006
Posts: 504
Received Thanks: 1,069
Quote:
Originally Posted by hio77 View Post
have you tested that ep shop ... there was issues when i tried it and i know funhacker and acme had issues with ep shops at the time as well ... idk if they worked it out ... but i tried every shop type and stuff and it never worked

well written guide
Yeah you are right about that one, tried every type almost myself, cannot buy the stuff, compared to shop 1352(CastleShopEP) cannot find any differences, i will keep search about that.
cyberghoser1 is offline  
Thanks
1 User
Old 03/18/2010, 04:20   #13
 
hio77's Avatar
 
elite*gold: 20
Join Date: Jun 2006
Posts: 1,759
Received Thanks: 827
Quote:
Originally Posted by King_Arthur View Post
Never worked it out and havn't tried since.
thought so lol...

Quote:
Originally Posted by cyberghoser1 View Post
Yeah you are right about that one, tried every type almost myself, cannot buy the stuff, compared to shop 1352(CastleShopEP) cannot find any differences, i will keep search about that.
yeh i ended up using the castle ep shop for an custom ep shop on mine ...
hio77 is offline  
Old 03/18/2010, 04:22   #14
 
cyberghoser1's Avatar
 
elite*gold: 0
Join Date: Jan 2006
Posts: 504
Received Thanks: 1,069
If it can be fixed i'm sure i will find it, if not then gold is not bad at all.
cyberghoser1 is offline  
Old 04/28/2010, 09:21   #15
 
Hinataa's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 65
Received Thanks: 9
@cyberghoser1
I'm finding that my question is noob, but
as you changed the angle of the game?
Hinataa is offline  
Reply

Tags
custom, cyberghoser1, guide, npc, shop


Similar Threads Similar Threads
[Guide] Create custom item to teleport you (get it as starter) by cyberghoser1
01/25/2011 - EO PServer Guides & Releases - 11 Replies
Hello again, since my internet went down past hour i took the time to make something nice for all of you pserver owners, you may use it or not, its just for educational purpose. We will learn how to create a custom Teleporter Item that will be on every starter's inventory, my example use few locations but you can improve it and add more using Funhacker's NPC Teleport maker. Let's go Part I: Teleporter NPC Tool open up the...
Best Text Based MMO
12/06/2008 - General Gaming Discussion - 0 Replies
CS-Arena.com - professionelles Game-, Rootserver- & Housingbusiness join now, if u wanna join under me go here http://www.prisonstruggle .com/register.php?referer=161647
[HELP] Text Based Shop
05/07/2008 - EO PServer Hosting - 5 Replies
I think this might have been posted before but I can't find it again. I was wondering how I can make a text based npc seller like EudemonSeller Alice. I was looking at the actions but I couldn't find where it actually gives the user the item. Any help would be gladly appreciated. TrImAn



All times are GMT +1. The time now is 22:49.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.