Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::General Support

Support::General Support Post all topics here having to do with errors while trying to connect to an EQEMu server but not about the setup/running of the Server itself.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 10-02-2012, 02:59 PM
image
Demi-God
 
Join Date: Jan 2002
Posts: 1,290
Default

Client::SendRewards (client.cpp) handles all the loading from the DB and pushing it to the client through OP_VetRewardsAvaliable. As-is we load a DB ID for each claim from the database. This is passed between client and server so the DB ID's need to be unique.

query ran:
SELECT reward_id, amount FROM account_rewards WHERE account_id=%i ORDER by reward_id;

you could check for existing and insert new entries

SQL in perl:

http://eqemulator.org/forums/showthread.php?t=35216
__________________
www.eq2emu.com
EQ2Emu Co-Founder / EQ2Emu Developer
EQEMu Co-Founder / Former EQEMu Developer / GuildWars / Zek Seasons Servers
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 01:58 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3