-
Posts
180 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Everything posted by brunoshp
-
is it possible to limit maximum number of scripts?
-
for add Map chache.dat or npc.zip
-
During the boot file error occurred When i will add mapcache or npz.zip! how to fix it?
-
+ you add - you remove, simple!
-
Yeah rathena, i implement some eamod systems. but cash shop not ok.
-
i cant buy in cashshop, not show any error. packet_db_ver: 46 #define PACKETVER 20131223 //2013-12-23Ragexe packet_ver: 46 packet_keys: 0x631C511C,0x111C111C,0x111C111C // [Shakto] 0x0369,7,actionrequest,2:6 0x083C,10,useskilltoid,2:4:6 0x0437,5,walktoxy,2 0x035F,6,ticksend,2 0x0202,5,changedir,2:4 0x07E4,6,takeitem,2 0x0362,6,dropitem,2:4 0x07EC,8,movetokafra,2:4 0x0364,8,movefromkafra,2:4 0x0438,10,useskilltopos,2:4:6:8 0x0366,90,useskilltoposinfo,2:4:6:8:10 0x096A,6,getcharnamerequest,2 0x0368,6,solvecharname,2 0x0838,12,searchstoreinfolistitemclick,2:6:10 0x0835,2,searchstoreinfonextpage,0 0x0819,-1,searchstoreinfo,2:4:5:9:13:14:15 0x0811,-1,reqtradebuyingstore,2:4:8:12 0x0360,6,reqclickbuyingstore,2 0x0817,2,reqclosebuyingstore,0 0x0815,-1,reqopenbuyingstore,2:4:8:9:89 0x0365,18,bookingregreq,2:4:6 //0x363,8 // CZ_JOIN_BATTLE_FIELD 0x0281,-1,itemlistwindowselected,2:4:8:12 0x022D,19,wanttoconnection,2:6:10:14:18 0x0802,26,partyinvite2,2 //0x436,4 // CZ_GANGSI_RANK 0x023B,26,friendslistadd,2 0x0361,5,hommenu,2:4 0x08A4,36,storagepassword,2:4:20 //New Packets //0x097E,12 //ZC_UPDATE_RANKING_POINT 0x09B4,6,dull,0 //Cash Shop - Special Tab 0x09CE,102,itemmonster,2 0x09D4,2,dull,0 //npcshopclosed //NPC Market 0x09D6,-1,dull,0 //npcmarketpurchase 0x09D8,2,dull,0 //npcmarketclosed 0x09DF,7 if my money < cust item = alert if my money > cust item an i will buy = not show error and i dont buy. pls help me
-
How i make an script to Show maps have specific mobs? Ex; poring = map x lunatic = map y and x
-
Hi, i have problem when copilling my server, in windows dont have any problem, but in linux have a lot of errors in pc.c. pc.c: At top level: pc.c:1378:12: warning: ‘pc_isAllowedCardOn_Ancient’ defined but not used [-Wunused-function] static int pc_isAllowedCardOn_Ancient(struct map_session_data *sd,int s,int eqindex) ^ cc obj/pc.o -o obj/pc /usr/lib/gcc/x86_64-redhat-linux/4.8.3/../../../../lib64/crt1.o: In function `_start': (.text+0x20): undefined reference to `main' obj/pc.o: In function `pc_Premium_end': /home/ragnarok12/emulador/src/map/pc.c:224: undefined reference to `map_id2sd' /home/ragnarok12/emulador/src/map/pc.c:231: undefined reference to `ShowError' /home/ragnarok12/emulador/src/map/pc.c:241: undefined reference to `gettick' /home/ragnarok12/emulador/src/map/pc.c:242: undefined reference to `atcommand_expinfo_sub' ..... obj/pc.o: In function `pc_del_talisman': /home/ragnarok12/emulador/src/map/pc.c:11839: undefined reference to `clif_talisman' obj/pc.o: In function `pc_bonus_script_clear': /home/ragnarok12/emulador/src/map/pc.c:12802: undefined reference to `status_calc_bl_' obj/pc.o: In function `pc_setoption': /home/ragnarok12/emulador/src/map/pc.c:9949: undefined reference to `clif_skillinfoblock' obj/pc.o: In function `pc_bonus_script_clear_all': /home/ragnarok12/emulador/src/map/pc.c:12826: undefined reference to `status_calc_bl_' obj/pc.o: In function `pc_cell_basilica': /home/ragnarok12/emulador/src/map/pc.c:12838: undefined reference to `status_change_end_' obj/pc.o: In function `pc_itemheal': /home/ragnarok12/emulador/src/map/pc.c:9528: undefined reference to `status_heal' obj/pc.o: In function `pc_item_remove4all': /home/ragnarok12/emulador/src/map/pc.c:1130: undefined reference to `mapit_free' /home/ragnarok12/emulador/src/map/pc.c:1092: undefined reference to `chrif_item_remove4all' obj/pc.o: In function `pc_putitemtocart': /home/ragnarok12/emulador/src/map/pc.c:5781: undefined reference to `clif_cart_additem_ack' obj/pc.o: In function `pc_respawn': /home/ragnarok12/emulador/src/map/pc.c:8088: undefined reference to `clif_resurrection' obj/pc.o: In function `pc_checkitem': /home/ragnarok12/emulador/src/map/pc.c:11152: undefined reference to `status_calc_bl_' obj/pc.o: In function `pc_getitemfromcart': /home/ragnarok12/emulador/src/map/pc.c:5825: undefined reference to `clif_additem' obj/pc.o:(.data.rel.ro+0x38): undefined reference to `is_day_of_sun' obj/pc.o:(.data.rel.ro+0x78): undefined reference to `is_day_of_moon' obj/pc.o:(.data.rel.ro+0xb8): undefined reference to `is_day_of_star' collect2: error: ld returned 1 exit status make[1]: ** [obj/pc] Erro 1 make[1]: Saindo do diretório `/home/ragnarok12/emulador/src/map' make: ** [map] Erro 2 my gcc is new. help me?
-
11/10
-
Hello rA can you help about this ..CUSTOM WEAPON SIN X
brunoshp replied to Diss's question in Client Requests
up me too -
Show your change, for i see!
-
Hi! i have problem in my server, maps fvf not dysplay damage, i change if (battle_config.hide_woe_damage && map_flag_gvg(src->m) to if (battle_config.hide_woe_damage && map_flag_gvg(src->m) || map[src->m].flag.fvf but not dysplay damages. can help me?
-
i use 2013-12-23cRagexe i have customs weapons, al ok but sinx weapons in 2 hands not ok! see pictures: one hand: two hands: help?
-
how to use this mapflag? mf_noitemconsumption
-
i need tu change bg_monster to faction_monster i change this: int class_ = 0, x = 0, y = 0, bg_id = 0; const char *str,*mapname, *evt=""; bg_id = script_getnum(st,2); mapname = script_getstr(st,3); x = script_getnum(st,4); y = script_getnum(st,5); str = script_getstr(st,6); class_ = script_getnum(st,7); if( script_hasdata(st,8) ) evt = script_getstr(st,8); check_event(st, evt); script_pushint(st, mob_spawn_bg(mapname,x,y,str,class_,evt,bg_id)); return SCRIPT_CMD_SUCCESS; to this: int class_ = 0, x = 0, y = 0, faction_id = 0; const char *str,*mapname, *evt=""; faction_id = script_getnum(st,2); mapname = script_getstr(st,3); x = script_getnum(st,4); y = script_getnum(st,5); str = script_getstr(st,6); class_ = script_getnum(st,7); if( script_hasdata(st,8) ) evt = script_getstr(st,8); check_event(st, evt); script_pushint(st, mob_spawn_bg2(mapname,x,y,str,class_,evt,faction_id)); return SCRIPT_CMD_SUCCESS; and duplicate mob_spawn_bg to mob_spawn_bg2 int mob_spawn_bg2(const char* mapname, short x, short y, const char* mobname, int mob_id, const char* event, int faction_id) { struct mob_data *md = NULL; struct spawn_data data; int16 m; if( (m = map_mapname2mapid(mapname)) < 0 ) { ShowWarning("mob_spawn_bg2: Map [%s] not found.\n", mapname); return 0; } memset(&data, 0, sizeof(struct spawn_data)); data.m = m; data.num = 1; if( mob_id <= 0 ) { mob_id = mob_get_random_id(-mob_id-1,1,99); if( !mob_id ) return 0; } data.id = mob_id; if( (x <= 0 || y <= 0) && !map_search_freecell(NULL, m, &x, &y, -1,-1, 1) ) { ShowWarning("mob_spawn_bg2: Couldn't locate a spawn cell for guardian class %d (faction_id %d) at map %s\n",mob_id, faction_id, map[m].name); return 0; } data.x = x; data.y = y; safestrncpy(data.name, mobname, sizeof(data.name)); safestrncpy(data.eventname, event, sizeof(data.eventname)); if( !mob_parse_dataset(&data) ) return 0; md = mob_spawn_dataset(&data); mob_spawn(md); md->faction_id = faction_id; // faction Team ID return md->bl.id; } and duplicate to mob_spawn_bg to mob_spawn_bg2 in mob.h int mob_spawn_bg2(const char* mapname, int16 x, int16 y, const char* mobname, int mob_id, const char* event, int faction_id); i compiled dont have error, but whe summom monster he not in faction. this script: gef_fild14,188,186,3 script sdf52g4 123,{ set [email protected], faction_monster( 1, "gef_fild14", 181, 187, "poring 1", 1830, "" ) ; set [email protected], faction_monster( 1, "gef_fild14", 161, 167, "poring 2", 1002, "" ) ; unitattack [email protected], [email protected] ; unitattack [email protected], [email protected] ; end; } can help me?
-
see this. +BUILDIN_FUNC(factionguardian) +{ + int _class, timeout=0; + const char *str,*event=""; + TBL_PC *sd; + struct mob_data *md; + int tick = gettick(); + + sd=script_rid2sd(st); + if (!sd) return 0; + + str =script_getstr(st,2); + _class=script_getnum(st,3); + if( script_hasdata(st,4) ) + timeout=script_getnum(st,4); + if( script_hasdata(st,5) ){ + event=script_getstr(st,5); + check_event(st, event); + } + + clif_skill_poseffect(&sd->bl,AM_CALLHOMUN,1,sd->bl.x,sd->bl.y,tick); + + md = mob_once_spawn_sub(&sd->bl, sd->bl.m, sd->bl.x, sd->bl.y, str, _class, event); + if (md) { + md->master_id=pc_getfaction(sd); + md->special_state.ai=1; + //if( md->deletetimer != INVALID_TIMER ) + // delete_timer(md->deletetimer, mob_timer_delete); + //md->deletetimer = add_timer(tick+(timeout>0?timeout*1000:60000),mob_timer_delete,md->bl.id,0); + mob_spawn (md); //Now it is ready for spawning. + clif_misceffect2(&md->bl,344); + sc_start4(&md->bl, SC_MODECHANGE, 100, 1, 0, MD_AGGRESSIVE, 0, 60000); + } + return 0; +} and summom monster with : factionguardian "Faction1",1002;
-
How i use summongroup in script? summongroup "1",1002,5000; not summon!
-
sc_def -> magic def = vit ? and sc_Def2 - > luk
-
i dont watch where, i see clif.c but not ok. i can add for friendly team emblem.
-
hmmm, thz, but i can make 2 emblem? 1 for faction?
-
How i change this emblem? i use faction system and mine factions and other use this emblem.
-
I have a custom System Faction, but i need to add in @reloaditemdb el archive faction.txt, to reload! how i do?
-
i have old server i need to aplic this diff: https://github.com/rathena/rathena/commit/51ecd9b2bcc0417e73b041ddbb05395c49803c82/?diff=unified https://github.com/rathena/rathena/tree/51ecd9b2bcc0417e73b041ddbb05395c49803c82 not can dowload with tortoise. how i do? in log only show 2015 diffs! i use tortoise.