Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #17  
Old 10-13-2012, 08:00 PM
Traul
Hill Giant
 
Join Date: Jun 2005
Posts: 105
Default

Quote:
Originally Posted by lerxst2112 View Post
Floating point to integer conversion is defined by the C++ standard and not open to interpretation by different compiler vendors. The whole number is kept and the fraction discarded. 1.01 and 1.99 both become 1.

Looking at the database log it exactly matches what the vendor said he'd give you in all cases, and that is the amount sent to the AddMoneyToPP function.

Look in the debug zone log and see if you see the money being logged. The line would start with "Client::AddMoneyToPP()" and the values would show what the server believes your character has which should agree with the client unless there's something wrong when sending it.

I didn't see a # command that would list your money so it would seem like that log is the only way you'll easily be able to tell if what you actually have on the server is the same as what the client is showing you.
Here's the log from zone.exe:

Quote:
[10.13. - 16:15:17] [CLIENT__NET_ERR] Nalia: Unhandled incoming opcode: [OpCode OP_WeaponEquip2 (0x63da) Size=8]
[10.13. - 16:15:17] [CLIENT__NET_ERR] Nalia: Unhandled incoming opcode: [OpCode OP_WeaponEquip2 (0x63da) Size=8]
[10.13. - 16:15:17] [CLIENT__NET_ERR] Nalia: Unhandled incoming opcode: [OpCode OP_WeaponEquip1 (0x6c5e) Size=12]
[10.13. - 16:17:36] Client::AddMoneyToPP() Nalia should have: plat:72 gold:2 silver:2 copper:2
[10.13. - 16:17:36] DeleteItemInInventory(28, 1, false)
[10.13. - 16:17:59] Client::AddMoneyToPP() Nalia should have: plat:1372 gold:1 silver:8 copper:8
[10.13. - 16:17:59] DeleteItemInInventory(28, 19, false)
[10.13. - 16:18:27] Nalia, purchase item..
[10.13. - 16:18:27] [INVENTORY__SLOTS] Nalia: Putting item Whip Pattern (16479) into slot 28
[10.13. - 16:18:45] Client::AddMoneyToPP() Nalia should have: plat:3 gold:1 silver:0 copper:0
[10.13. - 16:18:45] DeleteItemInInventory(28, 1, false)
So this agrees what it's actually sending me, but disagrees with what the merchant and database log says.

By the way, thanks for taking a look at this guys, I appreciate it
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 03:45 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