Jump to content

Kaminitsu

Members
  • Content Count

    10
  • Joined

  • Last visited


Reputation Activity

  1. Upvote
    Kaminitsu reacted to Mystery in Question Regarding Fake_NPC and View ID -1   
    I think you may find the information you need by viewing this: http://herc.ws/board/topic/11703-2015-12-31-fake-npc-and-the-npc-view-id-1/ and the 1 of many commits: https://github.com/HerculesWS/Hercules/commit/efaaf84
     
    Basically your NPCs with ID -1 is now FAKE_NPC
  2. Upvote
    Kaminitsu reacted to Winterfox in [REQ] New Donation System   
    @@rector
     
    prontera,166,207,4 script Flux Point Shop 4_M_YOUNGKNIGHT,{ openshop; end; OnInit: setarray .@itemIds,501, 502, 503; setarray .@itemPrices, 1, 1, 1; tradertype( NST_CUSTOM ); for( .@i = 0; .@i < getarraysize( .@itemIds ); .@i++ ) sellitem .@itemIds[ .@i ], .@itemPrices[ .@i ]; end; OnCountFunds: query_sql "SELECT balance FROM cp_credits WHERE account_id = " + getcharid( 3 ), .@balance; setcurrency( .@balance ); end; OnPayFunds: query_sql "SELECT balance FROM cp_credits WHERE account_id = " + getcharid( 3 ), .@balance; if( .@balance < @price ) end; query_sql "UPDATE cp_credits SET balance = balance - " + @price + " WHERE account_id = " + getcharid( 3 ); purchaseok(); end;}
×
×
  • Create New...

Important Information

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