Jump to content

Alexandrite

Members
  • Posts

    31
  • Joined

  • Last visited

Everything posted by Alexandrite

  1. I put script_constants.hpp export_constant(SC_INCREASEAGI); export_constant(SC_INCREASEAGI_CASH); then I got But then my server crash my Sc_DATA
  2. I didn't miss anything .... still put me in stone well I'm doing INCREASEAGI btw...
  3. I did that and it just made my character "stone" :V @pajodex
  4. it's work but that's not what i want.... I want to add manual SC_*
  5. I know that there are 6 Type of Str - Luk Cash sc_start SC_FOOD_STR_CASH, (@runtime*60000), 10; sc_start SC_FOOD_AGI_CASH, (@runtime*60000), 10; sc_start SC_FOOD_VIT_CASH, (@runtime*60000), 10; sc_start SC_FOOD_INT_CASH, (@runtime*60000), 10; sc_start SC_FOOD_DEX_CASH, (@runtime*60000), 10; sc_start SC_FOOD_LUK_CASH, (@runtime*60000), 10; But there no CASH version of sc_start SC_HITFOOD, (@runtime*60000),30; sc_start SC_FLEEFOOD, (@runtime*60000),30; sc_start SC_BATKFOOD, (@runtime*60000), 10; sc_start SC_MATKFOOD, (@runtime*60000), 10; sc_start SC_INCREASEAGI, (@runtime*60000) ,10; sc_start SC_BLESSING,(@runtime*60000),10; sc_start SC_MAGNIFICAT,(@runtime*60000),5; sc_start SC_ANGELUS,(@runtime*60000),10; sc_start SC_GLORIA,(@runtime*60000),5; I want HITFOOD FLEEFOOD BATKFOOD MATKFOOD INCREASEAGI BLESSING MAGNIFICAT ANGELUS GLORIA as a _CASH how do I add them I mean I want 9 later Buff with the effect that it won't lose upon death (CASH Version) at the moment this 9 buff are lost when u die , I want to add cash version of this 9 effect? Can anyone suggest me how to do it?
  6. It's not work when there multiple same of account_id only donation 100 work while 555 not work but status all become 1
  7. Testing on 2 Account And It's worked fine! :3 Not able to test more tough > <
  8. Yeah ! It's work perfectly fine now Thank you - script DonationUpdate -1,{ OnTimer1000: OnInit: set [email protected], query_sql("SELECT COUNT(*) FROM test_donation WHERE status=0", [email protected]); if([email protected] != 0) { set [email protected],query_sql("SELECT account_id,donate,status FROM test_donation WHERE status='0'",[email protected]_id,[email protected],[email protected]); if (isloggedin([email protected]_id)) { // check if player online atcommand "#cash "+rid2name([email protected]_id)+" "[email protected]; query_sql("UPDATE test_donation SET status='1' WHERE account_id='"[email protected]_id+"'"); } } initnpctimer; end; } Still wonder if it's work on multiple donation? massive donation?
  9. The Code still change status to 1 even if i'm offline too lol... So if i'm not online it won't work > <"
  10. It's also work now just like this - script DonationUpdate -1,{ OnInit: OnTimer1000: set [email protected],query_sql("SELECT COUNT(*) FROM test_donation WHERE status=0",[email protected]); if([email protected] != 0) { set [email protected],query_sql("SELECT account_id,donate,status FROM test_donation WHERE status='0'",[email protected]_id,[email protected],[email protected]); atcommand "#cash "+rid2name([email protected]_id)+" "[email protected]; query_sql("UPDATE test_donation SET status='1' WHERE account_id='"[email protected]_id+"'"); } initnpctimer; end; } But I'm not sure if this code can handle massive player online? Or is it check if player online or not?
  11. oh ok it's work now , but i wonder if this code can handle massive player online?
  12. from what i read, your code only work for new login I mean for player who actually logined for a long time and not even logout to get cash refresh > < I mean, I want #CASHPOINTS alway uptime whenever it get update from outside the game, while player still logined in game
  13. Well I didn't have fluxcp install anymore, is it work on manual table if I made?
  14. Because I'm planing to make it as a script to php for make it as website donation :3 (Not sure im explaining well)
  15. Can anyone help me (Or understand me?) I'm not good at explain thing in English
  16. I mean if I edit acc_reg_num > #CASHPOINTS while i'm still logining in game my #CASHPOINTS won't update until I relogin, I want it to refresh without re-login , is it possible? because I saw some server can do this without re login the game
  17. I mean... aka example if Player login account to refil cash point in my webserver, I want the code to force logout any in game of that account to prevent bug or cheating, is it possible?
  18. Ok i found it now.... it's my stupid lol OnPCDieEvent: sc_end sc_all;
  19. i use script // = STR / AGI / VIT / INT / DEX / LUK Food = sc_start SC_FOOD_STR_CASH, (@runtime*60000), 10; sc_start SC_FOOD_AGI_CASH, (@runtime*60000), 10; sc_start SC_FOOD_VIT_CASH, (@runtime*60000), 10; sc_start SC_FOOD_INT_CASH, (@runtime*60000), 10; sc_start SC_FOOD_DEX_CASH, (@runtime*60000), 10; sc_start SC_FOOD_LUK_CASH, (@runtime*60000), 10; and when i try get killed by monter or test @die my cash food now gone, is it bug? also sc_start SC_EXPBOOST, (@runtime*60000),300; sc_start SC_JEXPBOOST, (@runtime*60000),300; also gone too... that xp buff and jexp buff
  20. Can I add "delay circle" on "use item" delay ? Not sure if I make myself clear I mean example.... 607,5000,SC_REUSE_LIMIT_F //Yggdrasil_Berry It's has 5 sec delay right? I also want to make the Item Icon of Yggdrasill Berry Show "Delay Cycle" too Like when you using skill and have a delay you'll see there a grey delay cycle until it non-grey then you can use it again Is it possible to do so? Example : Look at Endure Skill
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.