Jump to content

Alexandrite

Members
  • Posts

    54
  • Joined

  • Last visited

Everything posted by Alexandrite

  1. it's work but that's not what i want.... I want to add manual SC_*
  2. 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?
  3. It's not work when there multiple same of account_id only donation 100 work while 555 not work but status all become 1
  4. Testing on 2 Account And It's worked fine! :3 Not able to test more tough > <
  5. Yeah ! It's work perfectly fine now Thank you - script DonationUpdate -1,{ OnTimer1000: OnInit: set $@nb2, query_sql("SELECT COUNT(*) FROM test_donation WHERE status=0", $@count); if($@count != 0) { set $@nb,query_sql("SELECT account_id,donate,status FROM test_donation WHERE status='0'",$@account_id,$@donate,$@status); if (isloggedin($@account_id)) { // check if player online atcommand "#cash "+rid2name($@account_id)+" "+$@donate; query_sql("UPDATE test_donation SET status='1' WHERE account_id='"+$@account_id+"'"); } } initnpctimer; end; } Still wonder if it's work on multiple donation? massive donation?
  6. The Code still change status to 1 even if i'm offline too lol... So if i'm not online it won't work > <"
  7. It's also work now just like this - script DonationUpdate -1,{ OnInit: OnTimer1000: set $@nb2,query_sql("SELECT COUNT(*) FROM test_donation WHERE status=0",$@count); if($@count != 0) { set $@nb,query_sql("SELECT account_id,donate,status FROM test_donation WHERE status='0'",$@account_id,$@donate,$@status); atcommand "#cash "+rid2name($@account_id)+" "+$@donate; query_sql("UPDATE test_donation SET status='1' WHERE account_id='"+$@account_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?
  8. oh ok it's work now , but i wonder if this code can handle massive player online?
  9. 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
  10. Well I didn't have fluxcp install anymore, is it work on manual table if I made?
  11. Because I'm planing to make it as a script to php for make it as website donation :3 (Not sure im explaining well)
  12. Can anyone help me (Or understand me?) I'm not good at explain thing in English
  13. 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
  14. 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?
  15. Ok i found it now.... it's my stupid lol OnPCDieEvent: sc_end sc_all;
  16. 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
  17. 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
  18. 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
  19. 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
  20. 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...