fiction

Members
  • Content count

    38
  • Joined

  • Last visited

1 Follower

About fiction

  • Rank
    Advanced Member
  • Birthday 07/05/93

Profile Information

  • Gender
    Male
  • Location:
    Santiago, Chile
  • Emulator:
    Hercules
  1. UP
  2. Hi, I need some help to make a mob change the appareance every 25 sec, and store the previous HP and position. Is similar to Facewrom, This is that i have currently, but have error when i try to spawn the mob in the previous position. [email protected],50,50,4 script asdasd 4_NFWISP,{ donpcevent("fff#Start::OnStart"); } [email protected],0,0,0 script fff#Start HIDDEN_NPC,{ OnStart: .@GID = monster ("[email protected]", 50, 55, _("--ja--"), 3500, 1, "DarkThanatos::OnDead"); initnpctimer "fff#Start"; initnpctimer; end; OnTimer6000: killmonsterall "[email protected]"; .@max_hp = getmonsterinfo( 3500,UDT_MAXHP ); .@hp = getmonsterinfo( 3500,UDT_HP ); .@element = rand( 3501,3504 ); // TODO: required mob controller script commands or other alternatives workaround. getmapxy(@mapname$, @mapx, @mapx, UNITTYPE_MOB); .@GID = monster( @mapname$,@mapx,@mapx,"--ja--",.@element,1,"DarkThanatos::OnDead" ); setunitdata( .@GID,UDT_HP,.@hp ); setunitdata( .@GID,UDT_MAXHP,.@max_hp ); initnpctimer; switch ( .@element ) { case 3501: mapannounce "[email protected]","MOB changed to Fire element!",bc_map; break; case 3502: mapannounce "[email protected]","MOB changed to Earth element!",bc_map; break; case 3503: mapannounce "[email protected]","MOB changed to Water element!",bc_map; break; case 3504: mapannounce "[email protected]","MOB changed to Wind element!",bc_map; break; } end; OnMyMobDead: end; OnDead: end; } [Error]: script_rid2sd: fatal error ! player not attached! [Debug]: Function: monster (7 parameters): [Debug]: Data: variable [email protected]$' index=0 [Debug]: Data: variable [email protected]' index=0 [Debug]: Data: variable [email protected]' index=0 [Debug]: Data: string value="--ja--" [Debug]: Data: variable name='.@element' index=0 [Debug]: Data: number value=1 [Debug]: Data: string value="DarkThanatos::OnDead" [Debug]: Source (NPC): DarkThanatos2#Start at [email protected] (0,0) [Warning]: script_get_val: cannot access player variable [email protected]$', defaulting to "" [Error]: script_rid2sd: fatal error ! player not attached! [Debug]: Function: monster (7 parameters): [Debug]: Data: string value="" [Debug]: Data: variable [email protected]' index=0 [Debug]: Data: variable [email protected]' index=0 [Debug]: Data: string value="--ja--" [Debug]: Data: variable name='.@element' index=0 [Debug]: Data: number value=1 [Debug]: Data: string value="DarkThanatos::OnDead" [Debug]: Source (NPC): DarkThanatos2#Start at [email protected] (0,0) [Warning]: script_get_val: cannot access player variable [email protected]', defaulting to 0 [Error]: script_rid2sd: fatal error ! player not attached! [Debug]: Function: monster (7 parameters): [Debug]: Data: string value="" [Debug]: Data: number value=0 [Debug]: Data: variable [email protected]' index=0 [Debug]: Data: string value="--ja--" [Debug]: Data: variable name='.@element' index=0 [Debug]: Data: number value=1 [Debug]: Data: string value="DarkThanatos::OnDead" [Debug]: Source (NPC): DarkThanatos2#Start at [email protected] (0,0) [Warning]: script_get_val: cannot access player variable [email protected]', defaulting to 0 [Debug]: mapindex_name2id: Map "" not found in index list! [Warning]: buildin_monster: Attempted to spawn monster class 3502 on non-existing map '' [Debug]: Source (NPC): DarkThanatos2#Start at [email protected] (0,0) Greetings.-
  3. Hello, Who can help me with an npc that restrict all the mvp cards in a certain map. I have an idea with the sql, but i don't know how to do it more perfectly. This is that i'm looking for: If a player enter in the map that is restricted a message will appear informing that the mvp cards isn't allowed. .mvpcards = query_sql("select item_db.id from item_db right join mob_db on item_db.id = mob_db.dropcardid where mexp > 0 and type = 6 group by name_japanese;", .idmvpcard); Greetings.- !
  4. Thank you, now its working !
  5. Hi, I want to know how to make this square as basilica. I know can do it witth setcell and flag basilica, but can not understand how to use x, y and x2, y2. Map: ordeal_3-2,155,154
  6. Help, can't make compatible with herc and can't convert to a plugin src found: https://github.com/zephyrus-cr/eamod/blob/master/Servers/rAthena/src/map/atcommand.c#L8469 https://github.com/zephyrus-cr/eamod/blob/master/Servers/rAthena/src/map/mob.c#L2871 https://github.com/zephyrus-cr/eamod/blob/master/Servers/rAthena/src/map/script.c#L10170
  7. Hi Herc, Can someone please make a plugin for mobevent from eamod? syntax: mobevent <map>,<x>,<y>,<fakename>,<mobid>,<size>,<amount>,<teamid>,<showhp>,<increasehp>,<allied>,<noslaves>,<noexpnodrop>,<poringcoins>,<event> https://github.com/zephyrus-cr/eamod/blob/master/Servers/rAthena/src/map/script.c#L10170 Greetings.-
  8. Intenta con lo siguiente: http://herc.ws/board/topic/3204-special-shopimplement-it-in-hercules/
  9. Just because rAthena may have it, doesn't mean anything that 'Herc' is dead. The developers are always active in the repository... you would notice if you stopped and visited it sometime rather than replying with something that has no context in this topic or anywhere else for that matter. i was just kidding, i'm still using herc.
  10. Herc is dead.
  11. Come back @ind
  12. Muchas gracias amigos.
  13. UP solved. <langtype>0</langtype> to <langtype>1</langtype>
  14. Solucionado, solo cambie <langtype>0</langtype> a <langtype>1</langtype>