quesoph
Members-
Content Count
562 -
Joined
-
Last visited
-
Days Won
6
Content Type
Profiles
Forums
Downloads
Staff Applications
Calendar
Everything posted by quesoph
-
roBrowser - Ragnarok Online for Web Browsers
quesoph replied to KeyWorld's topic in Website Releases
Do I need to unpack data.grf? and place the unpacked file in ../client/data/ ? or ? >.< -
Bookmarked! Thanks for this!! ^^
- 13 replies
-
In Cashpoints.php replace this: // Initialize cash points record if it doesn't already exist. if (!$this->cashRecords[$accountID]) { $sql = "INSERT INTO {$this->server->charMapDatabase}.global_reg_value "; $sql .= "(`str`, value, type, account_id, char_id) "; $sql .= "VALUES (?, 0, 2, ?, 0)"; $sth = $this->server->connection->getStatement($sql); $sth->execute(array($this->pointsType, $accountID)); } with this: // Initialize cash points record if it doesn't already exist. if (!$this->cashRecords[$accountID]) { $sql = "INSERT INTO {$this->server->charMapDatabase}.acc_reg_num_db "; $sql .= "(`key`, account_id, value ) "; $sql .= "VALUES (?, ?, 0)"; $sth = $this->server->connection->getStatement($sql); $sth->execute(array($this->pointsType, $accountID)); } @edit don't forget to replace global_reg_value with acc_reg_num_db. @evilpuncker Why char_reg_num_db? #CASHPOINTS and #KAFRAPOINTS are saved in acc_reg_num_db. right?
-
try to take a loot at /lib/cashshop.php replace global_reg_value with acc_reg_num_db and report back the result...
-
#include <stdio.h>#include <stdlib.h>#include <string.h>#include "../common/HPMi.h"#include "../common/timer.h"#include "../map/script.h"#include "../map/pc.h"#include "../map/clif.h"#include "../map/battle.h"#include "../map/status.h"#include "../common/HPMDataCheck.h"/*1.0 Initial Script [Mhalicot] Topic: http://goo.gl/vbmQnr2.0 Added Map restriction "izlude", GVG/PVP. You can't use @afk when your dead. [Mhalicot]2.1 Update compilation compatibility in latest rev. 13300 [Mhalicot]2.2 Fixed bug when using @afk. [Mhalicot]2.3 Fixed map crash when using @afk [Mhalicot]3.0 Added unable to use @afk when receiving damage. [Mhalicot]*/HPExport struct hplugin_info pinfo = { "afk", // Plugin name SERVER_TYPE_MAP,// Which server types this plugin works with? "3.0", // Plugin version HPM_VERSION, // HPM Version (don't change, macro is automatically updated)};ACMD(afk) { if(sd->bl.m == map->mapname2mapid("izlude")) { clif->message(fd, "@afk is not allowed on this map."); return true; } if( pc_isdead(sd) ) { clif->message(fd, "Cannot use @afk if you are dead."); return true; } if(DIFF_TICK(timer->gettick(),sd->canlog_tick) < battle->bc->prevent_logout) { clif->message(fd, "Failed to use @afk, please try again later."); //<- (10s)10000ms delay to edit look for conf/battle/player.conf search for prevent_logout return true; } if( map->list[sd->bl.m].flag.autotrade == battle->bc->autotrade_mapflag ) { if(map->list[sd->bl.m].flag.pvp || map->list[sd->bl.m].flag.gvg){ clif->message(fd, "You may not use the @afk maps PVP or GVG."); return true; } sd->state.autotrade = 1; sd->state.monster_ignore = 1; pc_setsit(sd); skill->sit(sd,1); clif->sitting(&sd->bl); clif->changelook(&sd->bl,LOOK_HEAD_TOP,471); clif->specialeffect(&sd->bl, 234,AREA); if( battle->bc->at_timeout ) { int timeout = atoi(message); status->change_start(NULL, &sd->bl, SC_AUTOTRADE, 10000, 0, 0, 0, 0, ((timeout > 0) ? min(timeout,battle->bc->at_timeout) : battle->bc->at_timeout) * 60000, 0); } clif->chsys_quit(sd); clif->authfail_fd(sd->fd, 15); } else clif->message(fd, "@afk is not allowed on this map."); return true;}/* Server Startup */HPExport void plugin_init (void){ clif = GET_SYMBOL("clif"); skill = GET_SYMBOL("skill"); script = GET_SYMBOL("script"); pc = GET_SYMBOL("pc"); battle = GET_SYMBOL("battle"); map = GET_SYMBOL("map"); status = GET_SYMBOL("status"); timer = GET_SYMBOL("timer"); addAtcommand("afk",afk);}
- 152 replies
-
- afk atcommand
- @afk
-
(and 2 more)
Tagged with:
-
http://ratemyserver.net/riot_bible/riot_bible.txt
-
^ create these tables ---- Table structure for table `ugr_guild_info`--CREATE TABLE IF NOT EXISTS `ugr_guild_info` ( `guild_id` mediumint(6) NOT NULL DEFAULT '0', `breaks` smallint(5) NOT NULL DEFAULT '0', `kills` smallint(5) NOT NULL DEFAULT '0', `deaths` smallint(5) NOT NULL DEFAULT '0', `APart` mediumint(6) NOT NULL DEFAULT '0', `percent` SMALLINT(4) NOT NULL DEFAULT '0', `date` MEDIUMINT(7) NOT NULL DEFAULT '0', `claim` tinyint(1) NOT NULL DEFAULT '1', UNIQUE KEY `guild_id` (`guild_id`,`date`)) ENGINE=MyISAM DEFAULT CHARSET=latin1;---- Table structure for table `ugr_guild_infov`--CREATE TABLE IF NOT EXISTS `ugr_guild_infov` ( `date` MEDIUMINT(7) NOT NULL DEFAULT '0', `AgitCount` mediumint(6) NOT NULL DEFAULT '1', `HighEmpBreak` MEDIUMINT(6) NOT NULL DEFAULT '0', UNIQUE KEY `date` (`date`,`AgitCount`)) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-
[Error]: script_rid2sd: fatal error ! player not attached![Debug]: Function: getcharid (1 parameter):[Debug]: Data: number value=2[Debug]: Source (NPC): UltimateRanker#00 (invisible/not on a map) change this donpcevent "UltimateRanker#00::OnEmpBreak"; to this doevent "UltimateRanker#00::OnEmpBreak"; to get rid of this error
-
dicastes01,206,179,3 script Informações 100,{ mes "[GM]"; mes "Olá, sou o GM do jogo."; mes "Eu tenho a autoridade necessária para fazer o que for preciso.."; mes "Você deve estar atrás de informações sobre o servidor, certo?"; switch(select("- Mercado Negro. :- Horários da WoE. :- Quem são os GMs. :Cancelar")) { case 1: next; mes "Vou te levar até lá."; warp "dicastes01", 117, 169; close; case 2: next; mes "Os horários da WoE são baseados no HORÁRIO DE BRASÍLIA! - Horários: QUINTA WOE 1.0 DE 20:00 ATÉ 21:00, SEXTA WOE 2.0 DE 20:00 ATÉ 21:00, SÁBADO WOE 2.0 DE 20:00 ATÉ 21:00, DOMINGO WOE 1.0 DE 20:00 ATÉ 21:00"; mes "Esses são os horários e dias da Guerra do Emperium do servidor Ragna Blast!"; mes "Vou te levar até o Point da WoE."; warp "dicastes01", 252, 256; close; case 3: next; mes "Os GMs do server, usam uam roupa parecida com a minha. Nesse mesmo estilo."; mes "TODOS ELES USAM [GM] no nome! De tanto os jogadores não são habilitados a usar [GM] no nome de seu personagem."; mes "Só acredite no GM, se ele tiver uma roupa como a minha, e tiver o nome IDÊNTICO como o da lista a seguir:"; next; mes "[GM]Prontera"; mes "[GM]Payon"; mes "[GM]Geffen"; mes "[GM]Morroc"; mes "E só. Somente esses."; mes "para mais informações, acesse WWW.RAGNABLAST.TK"; close; case 4: close; }} here
-
Awesome release. Thank you!
-
Oh I get it now.. this would be the solution for that.. ^^ - script test#444 -1,{OnCommand: if ( !getstrlen( .@atcmd_parameters$ ) ) { message strcharinfo(0), "Please, enter a message (usage: @bst <message>)."; end; } $@input$ = implode(.@atcmd_parameters$," " ); $@name$ = strcharinfo(0); .@symbol$ = substr( .@atcmd_parameters$, 0,1 ); if ( .@symbol$ != "B>" && .@symbol$ != "S>" && .@symbol$ != "T>" ) { message strcharinfo(0), "Market Symbol is Needed when using this command ( B> S> T> )"; end; } if ( bst_delay + 60 > gettimetick(2) ) { message strcharinfo(0), "There is a 60 seconds delay of using this command again"; end; } query_sql ("SELECT `char`.`account_id` FROM `char` JOIN `login` ON `char`.`account_id` = `login`.`account_id` WHERE `char`.`online` = 1", .@account_id); bst_delay = gettimetick(2); // delay while ( .@i < getarraysize(.@account_id) ) { if ( attachrid( .@account_id[.@i] ) ) dispbottom "[Market]" + $@name$ + " : " + $@input$; // display to every character on the server. detachrid; .@i++; } end;OnInit: bindatcmd "bst",strnpcinfo(0)+"::OnCommand", 0, 1; // bind @bst command. end;}
-
If you want a colored dispbottom, you need to add dispbottom2 by Dastgir Pojee.. @edit Not working.
-
^ It's working. I wouldn't post it if its not.
-
See this post! if you want it on chatbox.
-
prontera,150,150,3 trader asdfasdf 100,{ OnInit: tradertype(NST_CUSTOM); // make this shop a custom shop sellitem 501, 2; // 501 = red potion's item id sellitem 502, 2; // 502 = orange potion's item id // sellitem 503, 2; // etc //you may add more here end;OnCountFunds: setcurrency(#replaceyourcustompoint); // your custom shop's curreny. end;OnPayFunds: if( #replaceyourcustompoint < @price ) // check points if sufficient. end; #replaceyourcustompoint -= @price; // reduce points on purchase purchaseok(); end;} Read my comments.
-
prontera,150,150,0 script Sample 100,{ #replaceyourcustompoint =+ 5; // gives +5 points.. replace this to whatever you want. eg: #custompoints or #yourropoints. dispbottom "You now have " + #replaceyourcustompoint+ " own points."; // show how many points you have. end;} Permanent Account Points: meaning all of your character in your account can access this points. prontera,150,150,0 script Sample 100,{ replaceyourcustompoint =+ 5; // gives +5 points.. replace this to whatever you want. eg: custompoints or yourropoints. dispbottom "You now have " + replaceyourcustompoint+ " own points."; // show how many points you have. end;} Permanent Character Points: meaning only the character that has 'replaceyourcustompoint' can access this points.
-
Trinity Networks - Starting @ $10 - berry 'BER Promos!
quesoph replied to trinity's topic in Paid Services
Can you please provide an IP( ASIA and US ) so I can ping test them.- 52 replies
-
- affordable
- ro hosting
-
(and 2 more)
Tagged with:
-
prontera,150,150,0 script Sample 100,{ #replaceyourcustompoint =+ 5; // gives +5 points.. replace this to whatever you want. eg: #custompoints or #yourropoints. dispbottom "You now have " + #replaceyourcustompoint+ " own points."; // show how many points you have. end;}
-
- script test#444 -1,{OnCommand: $@input$ = implode(.@atcmd_parameters$," " ); $@name$ = strcharinfo(0); if ( !getstrlen( .@atcmd_parameters$ ) ) { message strcharinfo(0), "Please, enter a message (usage: @bst <message>)."; end; } .@symbol$ = substr( .@atcmd_parameters$, 0,1 ); if ( .@symbol$ != "B>" && .@symbol$ != "S>" && .@symbol$ != "T>" ) { message strcharinfo(0), "Market Symbol is Needed when using this command ( B> S> T> )"; end; } if ( bst_delay + 60 > gettimetick(2) ) { message strcharinfo(0), "There is a 60 seconds delay of using this command again"; end; } query_sql ("SELECT `char`.`account_id` FROM `char` JOIN `login` ON `char`.`account_id` = `login`.`account_id` WHERE `char`.`online` = 1", .@account_id); bst_delay = gettimetick(2); // delay while ( .@i < getarraysize(.@account_id) ) { if ( attachrid( .@account_id[.@i] ) ) dispbottom "[" + $@name$ + "]: " + $@input$; // display to every character on the server. detachrid; .@i++; } end;OnInit: bindatcmd "bst",strnpcinfo(0)+"::OnCommand", 0, 1; // bind @bst command. end;}
-
Walang txt ang hercules afaik. Sql lang talaga.
-
This? http://herc.ws/wiki/Adding_new_skills
-
MVP Basketball Hat Script: <" bonus2 bSubRace, RC_DemiHuman, 10; bonus2 bAddItemHealRate, 522, 30; // ? bonus bVariableCastrate, -3; if(getrefine()>=12) { bonus bVariableCastrate,1; } if(getrefine()>=14){ bonus bVariableCastrate,1; }">
-
Help in adding custom items without ³² and ¿© sprite
quesoph replied to legion's question in Client-Side Support
Drop Folder: ¾ÆÀÌÅÛ Garment files are placed here: ·Îºê/customgarment/³²/ or customgarment/¿©/ Format is job_gender.spr, job_gender.act and then check your lua files: spriterobename, spriterobeid. -
Stock shield and Custom shield aren't showing if my client is diffed with Custom Shield patch.. Client: 2013-08-07aRagexe Anyone having the same problem ?
-
Please be patient and Stop bumping your thread.