Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 01/07/22 in all areas

  1. 1 point
    View File Animated Headgear: Hat Valkyrie Randgris Hat Valkyrie Randgris MVP ( Ragnarok Online ) Submitter smiths12 Submitted 01/07/22 Category Sprites & Palettes  
  2. 1 point
    AnnieRuru

    Error when getunitdata from died unit

    yeah we don't have *unitexists script command like rathena although I am also not sure want to implement or not because since the monster is set with a variable upon the monster died, the event label can reset the variable back to 0 EDIT: ... maybe implement it then, with *unitexists script command maybe the .mobid there can become .@mobid PS: the script command setunitdata/getunitdata has more than 70% are not functioning, https://github.com/HerculesWS/Hercules/compare/stable...AnnieRuru:34-setunitdata and its not yet complete
  3. 1 point
    AnnieRuru

    get mob id on event

    prontera,155,185,5 script jsdfksdjf 1_F_MARIA,{ if ( .mobid ) end; .mobid = monster( "this", -1, -1, "--ja--", 1002, 1, strnpcinfo(3)+"::Onaaa" ); setunitdata .mobid, UDT_MAXHP, 1000000; setunitdata .mobid, UDT_HP, 1000000; while ( .mobid ) { npctalk "Poring HP is now "+( getunitdata( .mobid, UDT_HP ) / 10000 )+"%"; sleep 2000; } end; Onaaa: .mobid = 0; end; } ... although this script is working but ... my map-server.exe spam error ... check the script command in script.c ... Line 19671 } break; default: ShowError("buildin_getunitdata: Unknown object!\n"); script_pushint(st, 0); return false; } // end of bl->type switch #undef getunitdata_sub return false; <<----- WTF PUT A RETURN FALSE FOR WHAT REASON !!! }
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.