Jump to content

PewN

Members
  • Posts

    892
  • Joined

  • Last visited

Everything posted by PewN

  1. Example: (if player attached) factionmonster("prontera",155,180,"Example",1002,1,pvpteam); thx i will try this lilith thx @Clydelion thanks for helping me sir... @lilith how if i set in on script cuz i want to make a faction war like dota race to destroy the Throne
  2. Do you love my new avatar? don't steal it
  3. thanks Lilith for updating this thread
  4. hmm.. im a little bit confused how can i set the faction of the monster? sir clydelion how can i set the faction of the monster?
  5. here's the whole source /** * Faction System [Lilith] * factionmonster("<map name>",<x>,<y>,"<name to show>",<mob ID>,<amount>,<faction ID>{,"<event label>"}); **/ BUILDIN_FUNC(factionmonster) { const char* mapn = script_getstr(st,2); int x = script_getnum(st,3); int y = script_getnum(st,4); const char* str = script_getstr(st,5); int class_ = script_getnum(st,6); int amount = script_getnum(st,7); int faction = script_getnum(st,8); const char* event = ""; struct map_session_data* sd; struct mob_data *md; int m; if( script_hasdata(st,9) ) { event = script_getstr(st,9); check_event(st, event); } if( class_ >= 0 && !mobdb_checkid(class_) ) { ShowWarning("buildin_factionmonster: Attempted to spawn non-existing monster class %d\n", class_); return 1; } sd = map_id2sd(st->rid); if( sd && strcmp(mapn,"this") == 0 ) m = sd->bl.m; else { m = map_mapname2mapid(mapn); if( map[m].flag.src4instance && st->instance_id ) { if( (m = instance_mapid2imapid(m, st->instance_id)) < 0 ) { ShowError("buildin_factionmonster: Trying to spawn monster (%d) on instance map (%s) without instance attached.\n", class_, mapn); return 1; } } } md = mob_once_spawn_sub(&sd->bl, m, x, y, str, class_, event); if (md) { pc_readglobalreg( sd, "pvpteam" ) = faction; md->special_state.ai = 1; mob_spawn(md); clif_specialeffect(&md->bl,344,AREA); sc_start4(&md->bl, SC_MODECHANGE, 100, 1, 0, MD_AGGRESSIVE, 0, 60000); } script_pushint(st,md->bl.id); return 0; } cuz the source have the int faction
  6. i try to modify some of factionmonster script of lilith i want to be a variable like this http://rathena.org/b...st/#entry153174 md = mob_once_spawn_sub(&sd->bl, m, x, y, str, class_, event); if (md) { md->faction_id = faction; // this line md->special_state.ai = 1; mob_spawn(md); clif_specialeffect(&md->bl,344,AREA); sc_start4(&md->bl, SC_MODECHANGE, 100, 1, 0, MD_AGGRESSIVE, 0, 60000); } i want to change the line to this script md->pc_readglobalreg( sd, "pvpteam" ) = faction bump? please help bump bump!
  7. check spriterepository.com cuz i find some custom class sprite there like the high wizard female. i saw there
  8. i want to request a kagerou and oboro Skill button Textures . cuz my grf is to old please thanks in advance bump bump please!
  9. there's a wrong command on your group.conf
  10. add Dark Blessing[ comma ] on your mob_skill_db
  11. 1288 = Emperium . did u edit your emperium?
  12. wow nice script. can i ask if i rent a pet then i attack a monster will pet attack the mobs? or player?
  13. @Euphy check this im using your woe controller check the Scarlet Palace on Sacred Altar
  14. Request for a source code that monster killing other monster with variable also. example: the variable is pvp_team Monster A = 1 // set pvp_team,1; Monster B = 2// set pvp_team,2; they will attack Player or Monster [A/B] with the unsame variable like bg_monster
  15. punta ka lang sa login_athena.conf no need na ng @maintenance
  16. im using other features of 2011 clients like client hash and mounts im using other features of 2011 clients like client hash and mounts anyone know how to embed the .ini on the client or enable the Adata/Bdata Support on 2011 + clients
  17. how to diff that on 2011-03-15 i can't find GRF Adata/Bdata Support on sHinns Diff patcher
  18. what are the other packer applications? i tried to diff with support adata and bdata but everytime im using my client it's reset call nill any other application that other's can't open or edit it?
×
×
  • Create New...