juanfu
-
Posts
40 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Posts posted by juanfu
-
-
set.@nb$, query_sql("select char_id,name from `player` ORDER BY char_id DESC LIMIT 200", .@namer$, @nomer$);
estas seleccionando las ids y nombres de los ultimos 200 jugadores, no de los que estan online, y de la tabla `player` (tabla que no existe a menos que me digas cual es)
otro detalle es la variable @nomer$ que esta como temporal de player, yo preferiria dejarla temp. de npc
set.@nb$, query_sql("select char_id,name from `char` WHERE `online`=1 and group ORDER BY name ASC LIMIT 200", .@namer$, .@nomer$);
buscar y remplazar -> @nomer$ -> .@nomer$
con esto seleccionaria los 200 jugadores en orden alfabetico (a -> z) si esque estan conectados
luego ademas, en teoria no deberia retornar nunca nulo si hay un gm usando el npc (ya que el estaria en online)
ademas
siguiendo con el script te recomendaria validar
linea 27
input .@reason$;
para evitar algun tipo de inyeccion sql ej validar solo letras y espacio y tambien la cantidad maxima que le hayas puesto en la tabla (ej varchar 30) limita los 30 caracteres
-
i edit npctalk, now the instance work but look the screenshot chat
edit:
if you press "Hurry" option this is show in mapserver
Error: script:getelementofarray: illegal scope
debug: Data: variable name='jitoptions'
edit2:
i change all jitoptions for @jitoptions (temp player array) and it works
edit3:
npctalk fixed, my fault, ty
-
i get a error here
function script JitDiag {mes "[" + getarg(0) + "]";mes getarg(3);npctalk getarg(3), instance_npcname(getarg(0) + getarg(4, "#" + strnpcinfo(2)));
npctalk in the script is different from rathena i think
npctalk <"message">;
-
Thanks
-
hi,
i'm using some sprites from green peach (oridecon,elunium,phracon,etc recolored) to make a "crafting system" but i need to make some metal bars, so i need the gold bar recolor (969)
i found this but not a link to download https://rathena.org/board/topic/62856-recolor-gold-969/
thanks in advance
(sorry if my english is bad i speak spanish)
(color example)
http://www.green-peach.net/?a=sprite&type=item&name=Oridecon
-
gm sprite overlap job class sprite, and it have only 1 weapon sprite (look my screenshot)
hmm about cast time renember that in renewal , cast time is divide in fixed cast * 20% + variablecast *80% so if you want test it use a skill that doesnt have fixed cast (like cart cannon or a bolt)
about the weapon position i dont know how to move it but it is editing the .act file, or maybe you weapon sprite dont have these frames
-
you are using gm sprite, to change the weapon, replace this sprite, gm can only use 1 weapon sprite (not sure if you can change it to use more sprites)
/data/sprite/Àΰ£Á·/¿î¿µÀÚGM weapons
¿î¿µÀÚ2_¿©_°Ë.spr Sword (Female)
¿î¿µÀÚ2_³²_°Ë.spr Sword (Male)
¿î¿µÀÚ_¿©_°Ë.spr Sword (Female)
¿î¿µÀÚ_³²_°Ë.spr Sword (Male)to check 20% matk
try:
-warlock + recognize spell
-no equip, only the rod-hit poring with any bolt lv 1
-compare with other rod (same matk)
-
about matk
1678,Ru_Gold_Wand,Ru Gold Wand,5,0,,0,50,,1,2,0x00000200,56,2,2,3,120,1,10,{ bonus bDex,8; bonus bInt,8; },{},{}
example with rod (atk : matk)1601,Rod,Rod,5,50,,400,15:35,,1,3,0x00818315,63,2,2,1,1,1,10,{},{},{}
so it should be
1678,Ru_Gold_Wand,Ru Gold Wand,5,0,,0,50:200,,1,2,0x00000200,56,2,2,3,120,1,10,{ bonus bDex,8; bonus bInt,8; },{},{}
-
Buenas,
tengo intención de hacer una especie de museo de cartas con npc
1. registrar las cartas con un npc (hecho)
2. otro npc que al seleccionar la opción muestre la imagen de la carta (hecho)
ej
"Escoje la carta a ver"
- Poring Card
- ??? (No tienes esta carta)
- Fabre Card
el problema que tengo es que cutin solo usa imágenes de illust y estuve buscando sobre cutincard pero paso a estar obsoleto y intente probarlo en el emulador y ya no esta como función, hay alguna forma de re implementar el cutincard o alguna opción que no sea clonar las imgs de cardbmp a illust pensando que son bastantes
gracias de antemano
edit
--------
vi que con cutin puedo usar el nombre de la carta aun estando en la carpeta cardbmp asi que con eso es menos problematico, lo hare de este modo de todas formas
-
Shaman and Death Knight are from Ragnarok DS (nintendo DS), not sure if their sprite are for pc
-
can someone confirm this in the last git if this still happens?
-
today an user say that super novice link have a bug , when he use it he can't equip any headgear (including every job hat) after that, when he change map, all hats are take off from equip and cant be re-equipped until link effect end.
i'm using rathena emulator from 10-feb-2015 but until date i have not find any about this in bug tracker
screen 1: super novice with sunglasses is linked
screen 2: used @go 1 and sunglasses is taken off
screen 3: try reequip sunglasses and say forbidden to wear
---------------------------------
hoy un usuario dijo que la skill super novice link tiene un bug, cuando lo uso en su super novice, ya no pudo equiparle ningún casco ( ni siquiera los de every job) luego cuando cambia de mapa todos los hats son desequipados y no se pueden volver a equipar hasta que el efecto del link termina.
uso el emulador de rathena de la fecha 10-febrero-2015 pero busque hasta la fecha y no encontré nada de este problema en el bug tracker
screen 1: super novice con sunglasses es linkeado
screen 2: use @go 1 y los sunglasses se desequiparon
screen 3: intente reequipar los sunglasses y dice "forbidden to wear"
sorry if my english is bad , i speak spanish.
-
sql_query SELECT is not returning 0 in IF statement
example in the script
if (query_sql("SELECT `balance`, `password` FROM `bank` WHERE `account_id`=" + getcharid(3), .@balance$, .@password$)) {
i change it to
if (query_sql("SELECT `balance`, `password` FROM `bank` WHERE `account_id`=" + getcharid(3), .@balance$, .@password$)>0) {
maybe query_sql is returning -1 or something like that so , you must update some "if" in the scripts
(i speak spanish, sorry for bad english)
-
en el id
17441Halter_Lead_Box#
falta un #
17441#Halter_Lead_Box#
Ayuda con Script
in Sección de Scripts
Posted
ah ya vi, en esa tabla almacenas los players que se van conectando y van saliendo, de la forma que te lo puse los saca directo de la tabla char en base a si el status es online asi que es practicamente lo mismo.
ese mensaje te sale al momento de que se genera la lista de los players?
si es asi, prueba cambiar la linea 16 (con la variable como dije ) por
lo que haria es:
SI NO retorna ningun registro dira error