Jump to content

  •  

Zerathul

Member Since 15 Aug 2014
Offline Last Active Oct 21 2014 07:46 AM
-----

Posts I've Made

In Topic: get zeny amount from new bank system

24 August 2014 - 11:44 AM

This option should store the value in the database.
However, I need a way to read the new bank value from the database or directly modify the ingame bank value.

 

As a workaround, I have my script modified so that it works with the Zeny-value from the char.

 

Currently there is really no way to influence the ingame Bank by script?


In Topic: get zeny amount from new bank system

22 August 2014 - 11:11 AM

hi everyone,

I write again because now i have a problem with saving the bank_vault.

 

I store the value with said SQL query in the database, but the ingame bank-display does not refresh.

When I select - after the update query - the value, then I get the new value.

If I deposit money through the bank or take off, then the old value for the calculation is used, and overwrite the database value.

 

How can I tell the (ingame) Bank that it has a new value?


In Topic: get zeny amount from new bank system

15 August 2014 - 07:20 PM

Now it works
Thanks for your help


In Topic: get zeny amount from new bank system

15 August 2014 - 03:40 PM

Thanks, one step further^^

 

I get in my test still 0.

My test script:

 

 

-    script    bankvalue#newbe01::value    -1,{    OnPCLoginEvent:    query_sql "SELECT bank_vault FROM account_data WHERE account_id="+getcharid(3),.@bank;    mes "your bank vault: " + @bank + " Zeny.";    close;    end;} 

and the result:

http://www.directupl...btvmo63_jpg.htm