-
Posts
236 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Everything posted by Yummy
-
Pano po i enabled ang costum NPC event?
Yummy replied to SarapRO's topic in Tulong para sa Script at Database
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 -
<?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(); ?>
-
[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
-
Have you tried using Toastys WOE Setter?
-
My client doesn't launch and I'm stuck on Harmony How to fix this?
-
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!
-
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
-
You can ASK MIZUARI GFX,Rahul Dev,Chokoleyt.net to code this for you some price
-
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.
-
That Disguise Event doesn't work well
-
Thanks its working now!
-
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; }
-
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 );
-
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 :
-
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
-
How about with name like PhilTown[Main Town] - will be warp to this coords prontera 150 150 Donation Room Quest Room and its dynamic
-
oh didn't see it .. btw how can i put coords there?
-
BUMP for the Custom NPC Thanks MUCH
-
How to make the text in blue? + how can I make it announce every 3 hrs? announcer.txt
-
Oh I know this
-
Its urgent.
-
How can you make your patcher be the main client.exe?
Yummy replied to Yummy's question in Client-side Support
don't tick? -
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