Jump to content

Yummy

Members
  • Posts

    236
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Yummy

  1. Meron ka na ba script nun kung meron naman eathena/npc/custom/ then lalagay mo sa scripts_custom like this kuwnari name ng LMS mo ay lastman ganito npc: npc/custom/scripts/lastman.txt
  2. <?php if (!defined('FLUX_ROOT')) exit; $title = Flux::message('VoteStatsTitle'); $votes = Flux::config('FluxTables.VotesTable'); // Get total vote count. $sql = "SELECT COUNT(*) AS total FROM {$server->loginDatabase}.$votes"; $sth = $server->connection->getStatement($sql); $sth->execute(); $total = $sth->fetch()->total; // Get date since first vote. $sql = "SELECT vote_date FROM {$server->loginDatabase}.$votes ORDER BY vote_date ASC LIMIT 1"; $sth = $server->connection->getStatement($sql); $sth->execute(); $since = $sth->fetch()->vote_date; // Fetch top voters. $sql = "SELECT COUNT($votes.id) AS total, login.userid, login.account_id "; $sql .= "FROM $votes LEFT JOIN login ON $votes.account_id = login.account_id "; $sql .= "GROUP BY account_id ORDER BY total DESC "; if ($limitTopVoters=(int)Flux::config('ShowTopVotes')) { $sql .= "LIMIT $limitTopVoters"; } $sth = $server->connection->getStatement($sql); $sth->execute(); $users = $sth->fetchAll(); ?>
  3. [19-Mar-2012 01:30:27] PHP Notice: Trying to get property of non-object in /home/heritage/public_html/main/addons/vote_for_credits/modules/vote/stats.php on line 17 [19-Mar-2012 01:30:28] PHP Notice: Trying to get property of non-object in /home/heritage/public_html/main/addons/vote_for_credits/modules/vote/stats.php on line 17
  4. Yummy

    Woe Times

    Have you tried using Toastys WOE Setter?
  5. My client doesn't launch and I'm stuck on Harmony How to fix this?
  6. This one pops up whenever they try to open the .exe. How can I fix this one? your exe. file is not in latest version Help please!
  7. Help The first warp is working fine but the 2nd and 3rd warp is not working.. I can click it but it won't let me warp to the place Donation Area and Luneta Vend Room philtown,170,195,5 script Main Town Warper 965,{ setarray .@MapList$, "turbo_room","Luneta Mall","100","68", "turbo_room","Donation Area","115","94", "pron_mall","Luneta Vend Room","98","42", "Payon","Payon","162","133"; for( set .@i,0; .@i < getarraysize( .@MapList$ ) - 4; set .@i,.@i + 4 ) set .@Menu$,.@Menu$ + .@MapList$[.@i+1]+":"; set .@i,( select( .@Menu$ ) - 1 ); warp .@MapList$[.@i],atoi( .@MapList$[.@i+2] ),atoi( .@MapList$[.@i+3] ); end; OnInit: waitingroom "Main town Warper",0; end; } //-------------------MAP FLAG----- turbo_room mapflag nogo
  8. You can ASK MIZUARI GFX,Rahul Dev,Chokoleyt.net to code this for you some price
  9. Yummy

    Website

    Yes, you do have to code it by your self or you can ask RahulDev to code it for you for a small amount of money.
  10. That Disguise Event doesn't work well
  11. Yummy

    NPC Poring

    Oh I have that script lol
  12. Yummy

    Custom Warper

    Thanks its working now!
  13. Yummy

    Custom Warper

    So it will turn out like that? turbo_room,100,121,5 script Main Town Warper 718,{ setarray .@MapList$, "philtown","Main Town Luneta","169","180" "izlude","Izlude","128","141" "Payon","Payon","162","133"; for( set .@i,0; .@i < getarraysize( .@MapList$ ) - 4; set .@i,.@i + 4 ) set .@Menu$,.@Menu$ + .@MapList$[.@i+1]+":"; set .@i,( select( .@Menu$ ) - 1 ); warp .@MapList$[.@i],atoi( .@MapList$[.@i+2] ),atoi( .@MapList$[.@i+3] ); end; OnInit: waitingroom "Warper",0; end; }
  14. Yummy

    Custom Warper

    I tried but there's another problem [Error]: Loading NPC file: npc/custom/Heritage/turbowarper.txt script error on npc/custom/Heritage/turbowarper.txt line 5 script:add_word: invalid word. A word consists of undercores and/or alfanumeric characters, and valid variable prefixes/postfixes. 1 : { 2 : 3 : setarray .@MapList$, 4 : "philtown","Main Town Luneta","169","180"; * 5 : '"'izlude","Izlude","128","141"; 6 : "Payon","Payon","162","133"; 7 : 8 : for( set .@i,0; .@i < getarraysize( .@MapList$ ) - 4; set .@i,.@i + 4 ) 9 : set .@Menu$,.@Menu$ + .@MapList$[.@i+1]+":"; 10 : set .@i,( select( .@Menu$ ) - 1 );
  15. Yummy

    Custom Warper

    I got error saying this [Error]: Loading NPC file: npc/custom/Heritage/turbowarper.txt script error on npc/custom/Heritage/turbowarper.txt line 8 parse_line: need ';' 3 : setarray .@MapList$, 4 : "philtown","Main Town[Luneta]","169","180", 5 : "izlude","Izlude","128","141", 6 : "Payon","Payon","162","133", 7 : * 8 : for'(' set .@i,0; .@i < getarraysize( .@MapList$ ) - 4; set .@i,.@i + 4 ); 9 : set .@Menu$,.@Menu$ + .@MapList$[.@i+1]+":"; 10 : set .@i,( select( .@Menu$ ) - 1 ); 11 : warp .@MapList$[.@i],atoi( .@MapList$[.@i+2] ),atoi( .@MapList$[.@i+3] ); 12 : end; 13 :
  16. Yummy

    Custom Warper

    Hey Tron I was looking for a custom warper .. what Emistry gave is right but I want to put another menu .. like the name of the town
  17. Yummy

    Custom Warper

    How about with name like PhilTown[Main Town] - will be warp to this coords prontera 150 150 Donation Room Quest Room and its dynamic
  18. Yummy

    Custom Warper

    oh didn't see it .. btw how can i put coords there?
  19. Yummy

    Custom Warper

    BUMP for the Custom NPC Thanks MUCH
  20. How to make the text in blue? + how can I make it announce every 3 hrs? announcer.txt
  21. Thanks Evilpunker but I got another problem encountered with the same script [Warning]: npc_parsename: Duplicate unique name in file 'npc/custom/Heritage/spq.txt', line'1'. Renaming 'Skill points quest' to '1_761_181_182'. [Debug]: this npc: display name 'Skill points quest' unique name 'Skill points quest' map=philtown, x=181, y=182 [Debug]: other npc: display name 'Skill points quest' unique name 'Skill points quest' map=philtown, x=181, y=182 [Error]: status_set_viewdata (NPC): No view data for class 0
×
×
  • Create New...