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 02:24

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

Advertisement



[RELEASE]Create Exchange/Redeem Store

Discussion on [RELEASE]Create Exchange/Redeem Store within the EO PServer Guides & Releases forum part of the EO PServer Hosting category.

Reply
 
Old   #1

 
DuaSelipar's Avatar
 
elite*gold: 480
Join Date: Nov 2009
Posts: 235
Received Thanks: 333
[RELEASE]Create Exchange/Redeem Store



Today im gonna make tutorial how to create exchange store like pic above

1. Creating NPC exchange store

i. create npc in cq_npc
Quote:
INSERT INTO `cq_npc` VALUES
(72850, 0, 0, 'Exchange~Store', 0006, 728506, 0, 0, -1, 1000, 0321, 0462, 50001, 0000, 0000, 0000, 0000, 0000, 0000, 0000, 0, 0, 0, 0, 'None', 0000, 00, 00, 0000, 01, 0000, 0000, 0000, 0000, 0000, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 0);
ii. create script for npc
Quote:
INSERT INTO `cq_action` (`id`, `id_next`, `id_nextfail`, `type`, `data`, `param`) VALUES
(50001, 50002, 0000, 0101, 0, 'Open Store hanat');
(50002, 50003, 0000, 0102, 0, 'Exchange~Store 50006');
(50003, 50004, 0000, 0102, 0, 'Close 0');
(50004, 50005, 0000, 0104, 0, '0 0 264');
(50005, 0000, 0000, 0120, 0, '');
(50006, 0000, 0000, 0250, 601, '');

Type = 250 - Opening exchange store interface
Data = 601 - Dialog box number. (ignore this)

2. Adding item in the store
Quote:


INSERT INTO `cq_exchangegoods` VALUES
(001, 72850, 1020414, 3, 1020370, -1, 0);

Cq_exchangegoods table description:
ID = 001 - dont duplicate this id just put any number
ownerid = 72850 - this refers to the NPC ID. (cq_npc)
itemtype=Itemtype id you want to sell/exchange (cq_itemtype)
price = number of item needed to exchange/redeem (price)
needitem= item requirement (cq_itemtype)
maxcount=(Maximum 999) indicates how many items can be redeemed per day. When this value is -1, it means unlimited redemption.
RetainField=Meaningless. just put 0. (just ignore)
Reminder: If there is a quantity of items, it will be restocked at 24 o'clock every day (or when MSG is restarted).
Note 1: You can just make directly open store from npc by skip all the word 101 type (all bla bla word)
Note 2: Create cq_task by yourself lol

How many item i can put in this store?
-as many as you want , but i prefer maximum 4 pages is enough
How many exchange item i can put (needitem) per store?
-dont to much maximun i prefer just 3 item per store..but its up to you lol.
Attached Images
File Type: jpg Capturez.JPG (13.6 KB, 290 views)
DuaSelipar is offline  
Thanks
4 Users
Old 02/28/2020, 06:31   #2
 
hknippon's Avatar
 
elite*gold: 0
Join Date: Feb 2020
Posts: 168
Received Thanks: 89
lol open store hanat hahahaha
hknippon is offline  
Reply


Similar Threads Similar Threads
How create a trainer in cheat engine, and how to create autoassemble scripts [16 June
06/17/2012 - Facebook - 3 Replies
Many people asked me that... Maybe some of these people are from here.. or maybe not.. Anyway.. heres 25 minutes video ;D which should help? How create a trainer in cheat engine, and how to create autoassemble scripts - YouTube And yea.. I noticed that there 360p and 720p only.. no idea where the 460p gone... :x put 720p and full screen, otherwise in normal size its looks crappy
[HELP] How to create a new shop. SHOP CREATE
12/31/2010 - CO2 Private Server - 5 Replies
#closed
is possible to create a hack to create items +7
07/14/2008 - Dekaron - 25 Replies
How can I create a hack to create items +7



All times are GMT +2. The time now is 02:24.


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.