PrntScrn
-
Content Count
66 -
Joined
-
Last visited
Posts posted by PrntScrn
-
-
Para se conectar no hamachi. Seus amigos devem estar no mesmo grupo. Limite hamachi se não me engano é 1/5. Até 5 pessoas podem logar no seu servidor.
-
Nevermind the last thing, seems like quoting a codesnippet messes with some things.
Did you test if @mac$ is really set automatically? I still doubt it is.
What is this for? It seems to just query without the results beeing used anyway
query_sql ("select UniqueID from jogadoresid where UniqueID='",@mac$);
I want to see the query UniqueID that is jogadoresid, and applies the Redlist table in the UniqueID .... This npc works only with ip ... More'm trying to upgrade it to work for mac too.
-
The problem is far more simple i guess. You seem to have a typo. Its called @mac$ once and @mac in another part.
query_sql ("select UniqueID from jogadoresid where UniqueID='",@mac$);
query_sql("insert into `redlist` (account,ip,UniqueID) values ('"+getcharid(3)+"', '"+@ip"', '"+@mac"')")
I do not know indicate the query
-
you should be more specific if you just want a hint instead of a solution. Even though you could simply get what you need to do by checking out what i posted.
You insert a mac address that you fetched nowhere, as far as i know the protection solutions save it as last_mac or something similiar in the login table.
if internal guard doesn't save the mac in login though you simply have to query jogadoresid by ip to get the mac?
To fix it you just need to fetch the mac you want to insert?
the internalguard automatic gets the MAC, I want to do the script read the MAC and record the Redlist for limit 1 UniqueID
-
// |__ __| | __ / __ // | | _____ ____ _ ___| |__) | | | |// | |/ _ / / _` / __| _ /| | | |// | | __/> < (_| __ | | |__| |// |_|___/_/___,_|___/_| _____/- script Pack Iniciante 90,{OnPCLoginEvent:setarray @itens[0],5107,20100,20136,20135,20089; //Aqui você adiciona o ID dos itens setarray @qtd[0],1,3,200,100,1; //Aqui você colocará a quantidade de cada umquery_sql ("select last_ip, last_mac from login where account_id='"+getcharid(3)+"'",@ip$, @mac$);query_sql ("select UniqueID from jogadoresid where UniqueID='",@mac$);query_sql ("select ip from redlist where ip='"+@ip"'",@exist$);if (@exist$!=@ip$){query_sql("insert into `redlist` (account,ip,UniqueID) values ('"+getcharid(3)+"', '"+@ip"', '"+@mac"')");}else {set #jarecebeu,1;end;}if (#jarecebeu == 1) { Mes "O pack Inciante é dado apenas uma vez";} mes "^00FF00 Bem Vindo^000000 ao ^FF0000Texas-RO ^000000";mes "";mes "Vejo que você é novo por aqui, então vou te dar o Pack Iniciante!!";mes "Você receberá no Pack, os seguintes itens:";next;for (set .@i,0; .@i<getarraysize(@itens); set .@i,.@i+1){ set .@nome$, .@nomegetitemname(@itens[.@i]); mes "[^FF0000"+@qtd[.@i]+"^000000] ^0000FF"+.@nome"^000000"; set .@nome$,"";}next;for (set .@i,0; .@i<getarraysize(@itens); set .@i,.@i+1){ getitem @itens[.@i],@qtd[.@i];}set #jarecebeu,1;next;mes "Prontinho, faça bom uso!! ^^";close;end;}
No thank you very much. just want an idea of how to solve it.
-
Hello everybody, I'm here needing a help you
I'm trying to put this script to limit the item just for a UniqueID...
My SQL UniqueID
DROP TABLE IF EXISTS `jogadoresid`;create table `jogadoresid` (`id` int(10) unsigned not null auto_increment,`UniqueID` varchar(255) not null,`IP` varchar(255) not null,`Data` date not null,`Hora` time not null,primary key (id));
My SQL RedList
DROP TABLE IF EXISTS `redlist`;CREATE TABLE `redlist` (`id` int(11) unsigned NOT NULL auto_increment,`account` int(11) unsigned NOT NULL default '0',`UniqueID` varchar(255) not null,`ip` varchar(100) NOT NULL default '0.0.0.0',PRIMARY KEY (`id`))ENGINE=MyISAM;
My Npc// |__ __| | __ / __ // | | _____ ____ _ ___| |__) | | | |// | |/ _ / / _` / __| _ /| | | |// | | __/> < (_| __ | | |__| |// |_|___/_/___,_|___/_| _____/- script Pack Iniciante 90,{OnPCLoginEvent:setarray @itens[0],5107,20100,20136,20135,20089; //Aqui você adiciona o ID dos itens setarray @qtd[0],1,3,200,100,1; //Aqui você colocará a quantidade de cada umquery_sql ("select last_ip from login where account_id='"+getcharid(3)+"'",@ip$);query_sql ("select UniqueID from jogadoresid where UniqueID='",@mac$);query_sql ("select ip from redlist where ip='"+@ip$+"'",@exist$);if (@exist$!=@ip$){query_sql("insert into `redlist` (account,ip,UniqueID) values ('"+getcharid(3)+"', '"+@ip$+"', '"+@mac$+"')");}else {set #jarecebeu,1;end;}if (#jarecebeu == 1) { Mes "O pack Inciante é dado apenas uma vez";} mes "^00FF00 Bem Vindo^000000 ao ^FF0000Texas-RO ^000000";mes "";mes "Vejo que você é novo por aqui, então vou te dar o Pack Iniciante!!";mes "Você receberá no Pack, os seguintes itens:";next;for (set .@i,0; .@i<getarraysize(@itens); set .@i,.@i+1){ set .@nome$, .@nome$+getitemname(@itens[.@i]); mes "[^FF0000"+@qtd[.@i]+"^000000] ^0000FF"+.@nome$+"^000000"; set .@nome$,"";}next;for (set .@i,0; .@i<getarraysize(@itens); set .@i,.@i+1){ getitem @itens[.@i],@qtd[.@i];}set #jarecebeu,1;next;mes "Prontinho, faça bom uso!! ^^";close;end;}
My error?
My Table mac -->
-
Hello buddies someone would provide me "data" compatible with the / 2011 / 2011-10-25aRagexeRE. I thank you.
-
Baixando 0 2012
-
Puts o outro era menor esse veio pra acabar com a paciencia.
-
Alguem me indica um compilador leve porque o visual studio 2013 é 10 gb e n dar parar baixarr assim n :'(
-
Alguem me passa o link para download do Kro.
-
Random2 é 10 mas vc nao tem 10 items na BoxItems2, imagino q ele esteja pegando um numero q vc nao tem ae nao vem item nenhum
Não amigo isso seria a percentagem do drops pela caixa
-
Estou com esse script más tem hora que ele dar 2 hats e eu quero q ele só de 1 apenas
function script Aleatorio Hats { setarray .BoxItems[0],5389,5125,5132,5486,5338,5129,5183,5431; setarray .BoxItems2[0],5788,5490,5480,5827,5410,5283; set .Random, 5; set .Random2, 10; getitem .BoxItems[ rand( .Random ) ], 1; getitem .BoxItems2[ rand( .Random2 ) ], 1; end;}
set .Random, 5; = 5% Percentagem
-
is showing
-
-
cara isso é meio q impossível sugiro q vc use o hercules por mais complicado q possa parecer de migrar para cá
Eu sei configurar o hercules todo mais eu so migraria para o emulador do hercules se eu tivesse uma bg expasiva.
Eu instalei no meu emuladr uma mapflag noskill2 e noitem eles são muito facil de configurar.
-
Use o map_zone_db.conf para bloquear skills em mapas específicos leia mais em:
http://herc.ws/board/topic/302-introducing-hercules-map-zone-database/
dá uma olhada no meu exemplo:
http://herc.ws/board/topic/4349-disable-abracadabra-skill-in-certain-area/?p=28058
Esse eu sei configurar. Más eu quero criar um mapflag.
Vc teria o patch ou diff do map_zone completo?
-
Boa Noite Galera, eu preciso criar uma mapflag igual a essa noicewall.txt.
Alguém me ajuda com um tutorial ou com um script ou dica.
Quero fazer uma mapflag para cancelar uma skill.
-
Teste
Retirei minha resposta como resolvida, pois ela não é algo 100% correto.
Coloquei o delay 15 e deu certo.
Resolvido
-
Remove os seguintes patches: 9, 40, 97 e adicione o patch Use SSO Login Packet e diff novamente e rode o client através do ROCred e veja se dá certo, eu até hoje só consegui me conectar através do ROCred
deixo aqui minha patchlist como referência:
64 @ Bug Fix (Recommended)
88 Allow space in guild name
33 Always Call SelectKoreaClientInfo() (Recommended)
51 Ascii & Arial on All Langtypes (Recommended)
2 Chat Flood Allow
8 Custom Window Title
15 Disable HShield (Recommended)
14 Disable Hallucination Wavy Screen (Recommended)
100 Disable Multiple Windows (Experimental)
41 Disable Nagle Algorithm (Recommended)
61 Disable Packet Encryption (Recommended)
13 Disable Ragexe Filename Check (Recommended)
99 Disable ba_frostjoke.txt
98 Disable dc_scream.txt
90 Enable DNS Support (Recommended)
49 Enable Multiple GRFs (Recommended)
24 Fix Camera Angles (Recommended)
204 Increase Attack Display
28 Increase Headgear ViewID
74 Increase Screenshot Quality
30 Increase Zoom Out 50%
65 Load Custom lua file instead of iteminfo.lub
35 Read Data Folder First
36 Read msgstringtable.txt (Recommended)
37 Read questid2display.txt (Recommended)
96 Remove GM Sprites
38 Remove Gravity Ads (Recommended)
39 Remove Gravity Logo (Recommended)
73 Remove Hourly Announce (Recommended)
84 Remove Serial Display (Recommended)
79 Shared Body Palettes Type2
83 Shared Head Palettes Type2
50 Skip License Screen
44 Translate Client (Recommended)
46 Use Normal Guild Brackets
48 Use Plain Text Descriptions (Recommended)
95 Use SSO Login Packet
e meu clientinfo
<?xml version="1.0" encoding="euc-kr" ?><clientinfo> <servicetype>korea</servicetype> <servertype>primary</servertype> <connection> <display>Teste</display> <desc>Teste</desc> <address>127.0.0.1</address> <port>6900</port> <version>29</version> <langtype>12</langtype> <balloon>Teste</balloon> <aid> <admin>2000200</admin> </aid> </connection></clientinfo>
Acho q vou vou usar um hexed 2012. eu preciso de algo que facilite a entrada dos player ingame e não de problemas. Obrigado pela ajuda más eu estou vendo o lado de um player, eu não jogaria um servidor que eu teria q baixar outra data.grf do kro. So tentei diffar esse hexed para ver se conseguia resolver o problema de excluir char, era apenas isso. mas obrigadão pela força.
-
usa <langtype>12</langtype>
Minha patchlist e coloquei langtype 12 n resolveu
2 Chat Flood Allow8 Custom Window Title9 Disable 1rag1 type parameters (Recommended)13 Disable Ragexe Filename Check (Recommended)14 Disable Hallucination Wavy Screen (Recommended)15 Disable HShield (Recommended)16 Disable Swear Filter19 Enable Title Bar Menu20 Extend Chat Box21 Extend Chat Room Box22 Extend PM Box24 Fix Camera Angles (Recommended)28 Increase Headgear ViewID31 Increase Zoom Out 75%33 Always Call SelectKoreaClientInfo() (Recommended)34 Enable /showname (Recommended)36 Read msgstringtable.txt (Recommended)37 Read questid2display.txt (Recommended)38 Remove Gravity Ads (Recommended)39 Remove Gravity Logo (Recommended)40 Restore Login Window (Recommended)42 Skip Resurrection Buttons44 Translate Client (Recommended)47 Use Ragnarok Icon48 Use Plain Text Descriptions (Recommended)49 Enable Multiple GRFs (Recommended)50 Skip License Screen51 Ascii & Arial on All Langtypes (Recommended)54 Chat Color - GM55 Chat Color - Other Player56 Chat Color - Main57 Chat Color - Guild58 Chat Color - Other Party59 Chat Color - Your Party60 Chat Color - Self64 @ Bug Fix (Recommended)68 Enable 64k Hairstyle69 Extend Npc Dialog Box73 Remove Hourly Announce (Recommended)74 Increase Screenshot Quality76 Enforce Official Login Background209 Enable Mail Box for All Langtypes (Experimental)84 Remove Serial Display (Recommended)87 Only Second Login Background88 Allow space in guild name97 Cancel to Login Window (Recommended)98 Disable dc_scream.txt99 Disable ba_frostjoke.txt -
Baixe e instale o kRO caso não o tenha: http://www.nickyzai.com/?p=kro
Baixe o hexed deste link específico: http://herc.ws/board/topic/3609-2013-12-23c-kro-client-merry-christmas-3/page-2#entry24183
Use o NEMO para diffar o hexed para ele rodar no Hercules: http://herc.ws/board/topic/2905-nemo-client-patcher/
KRO É a mesma coisa que o data.grf do BRO?
O kRO é bem mais atualizado que o bRO, portanto eu aconselho que use a data.grf do kRO pois com certeza o client irá acusar a falta de alguns arquivos necessários que a data do bRO não possui, e quanto ás lua files:
https://github.com/ROClientSide/Translation
clica em Download ZIP e vai em data/luafiles514
Eu estou usando esse clientinfo e fica abrindo a interface do bro: EX: Servidor Gratuito. E não abre o meu clientinfo.
<? xml version = "1.0" encoding = "euc-kr" ?> <clientinfo> <servicetype> korea </servicetype> <servertype> primary </servertype> <connection> <display> myserver </display> <balloon> the balloon </balloon> <desc></desc> <address> 127.0.0.1 </address> <port> 6900 </port> <version>45</version> <langtype>0</langtype> <registrationweb></registrationweb> <aid> <admin></admin> <admin></admin> <admin></admin> </aid> <loading> <image></image> </loading> </connection> </clientinfo>
-
Baixe e instale o kRO caso não o tenha: http://www.nickyzai.com/?p=kro
Baixe o hexed deste link específico: http://herc.ws/board/topic/3609-2013-12-23c-kro-client-merry-christmas-3/page-2#entry24183
Use o NEMO para diffar o hexed para ele rodar no Hercules: http://herc.ws/board/topic/2905-nemo-client-patcher/
KRO É a mesma coisa que o data.grf do BRO?
Obrigado de novo amigo.
Alguém me indica uma lua files compatíveis com o hexed -
Baixe e instale o kRO caso não o tenha: http://www.nickyzai.com/?p=kro
Baixe o hexed deste link específico: http://herc.ws/board/topic/3609-2013-12-23c-kro-client-merry-christmas-3/page-2#entry24183
Use o NEMO para diffar o hexed para ele rodar no Hercules: http://herc.ws/board/topic/2905-nemo-client-patcher/
KRO É a mesma coisa que o data.grf do BRO?
Home Server
in General Server Support
Posted
Thanks