-
Content Count
821 -
Joined
-
Last visited
-
Days Won
43
Posts posted by Aeromesi
-
-
Little update: If you want to see everyday I'll be streaming me creating instances / dungeons of the sorts. You can follow me via my twitch at http://www.twitch.tv/aeromesi, hope to see you there! Don't forget to say hi in the chatbox and give Hercules a shout out for how awesome it is
-
I'd suggest the Paid Services section...
-
Hello,
I'm creating a system where if a player dies, they are auto hidden and must find the spot they died on to carry on.
World of Warcraft Style.
Is it possible to determine how you have been killed?
I tried to figure out and write it, so here's the outcome (this is based on @Aeromesi's idea *thanks to him*):
- script Support#1 FAKE_NPC,{ OnCheckHide: while(CheckHide){ getmapxy(.@m$, .@mx, .@my, UNITTYPE_PC); if (map$ == .@m$ && mapx == .@mx && mapy == .@my){ map$ = ""; mapx = 0; mapy = 0; CheckHide = 0; atcommand "@hide"; message strcharinfo(0), "You are resurrected!"; specialeffect2 226; specialeffect2 18; detachrid; end; } sleep2 500; } end; OnPCDieEvent: getmapxy(.@m$, .@mx, .@my, UNITTYPE_PC); map$ = .@m$; mapx = .@mx; mapy = .@my; // dispbottom "Map = "+map$+" X = "+mapx+" Y = "+mapy+"."; // DEBUG PURPOSE. CheckHide = 1; sleep2 1000; atcommand "@raise"; atcommand "@hide"; attachrid(getcharid(3,strcharinfo(0))); warp map$,0,0; callsub OnCheckHide; end; OnPCLoginEvent: if (!CheckHide) end; atcommand "@hide"; attachrid(getcharid(3,strcharinfo(0))); callsub OnCheckHide; end; }
Note:
* I made it looped to determine the player state, WARNING: this might cause lag.
* Players can attack mobs, players and can even use skills while on hide status since I executed "atcommand @hide", you can fix that by source modding if Im not mistaken.
* THIS IS JUST AN IDEA.
Well then, good luck!
Glad I could help. I would have coded it but last night I wasn't in the right frame of mind. Lol Happy new years!
-
All I can think about is using atcommand "@hide" set the player status like "IsHidden" to true/false, they die on a certain cell (save using getmapxy upon OnPcDieEvent of death coordinates) auto raise them and warp them to a different spot where they'd have to find that cell to get rid of the IsHidden status. Also you'll need OnPCLogoutEvent/OnPCLoginEvent or something similar if they logout / login to maybe set their hidden status back to 0? the problem I see is atcommand "@hide" effect will have been taken off automatically if dc/relog anyway.
I know there was something like @monsterignore or some kind of command that basically made monsters ignore you and you couldn't attack the monsters either... if you had that mod you could even save there "IsHidden" status when they login and set them back to being hidden incase of internet interruption -
Can you make a custom instance for 3ceam emulator script?
Add me on Skype.
PS:
https://www.twitch.tv/aeromesi for anyone who wants to watch me live when I'm making my scripts~ :3 you can also find me in Twitch if you search for Ragnarok Online streamers xD
-
No problem, enjoy your stay and I hope you find Hercules all that you need!
Silly me. Thank you for pointing it out. It's working now.
-
-
I think questprogress is part of rAthena and not in Hercules? From what I can tell is you're not missing a "(" but that questprogress isn't an actual script command function in your emulator.
Also please codebox next time. ^^ -
Ironic time to post, merry Christmas btw Hercules!
I just received my new PC a couple days ago but just yesterday I got my own monitor for it, so now I'm back at it. Let's hope I can muster something up for a Christmas treat. ^^
PS: First time using Windows 10, amg
Upgraded from 4GB -> 16GB
GTX 550 Ti -> Radeon R9 280x
Finally though my brother has a GTX 1060 so I have nothing still xD -
Frosty the Snowman: Happy birthday!
-frosty enters the chat-
I grab my flamethrower
Me: Happy birthday mother fu**er -
I think even I experience what you're talking about. Maybe an RO problem with the client? I don't see how that's made in the emulators source (we need dastgir or 4144 or someone like that xD)
-
-
Skype: itzmichaelmorici is my preferred way of contact or what's your Discord?
-
For general people/customer I am affiliated with:
My PC messed up around 1.5 week ago, bought new gaming rig that's coming in a couple of days, hopefully thursday or friday this week. -
Are you just trying to obtain all the custom items in your inventory? Your script makes me clueless what you're really trying to achieve.. >.< whatever logics going on I have hard time grasping... from what I can tell is
For item ID 18660 is less than 19223 "perform operation." Which is adding .@i until become 19223. will always be greater than 100 because it starts at 18660. I just suggest maybe better explanation or better grasp on script_commands.txt in our public github repo.. unless I'm only one confused someone please help our fellow Hercules user.
-
Need to wait until we get a right getmobdata/setmobdata script command. The ones floating around suck and seem to be very limited from my understanding (I was only able to modify the HP of a mob)
-
What timings? It doesn't effect anything other scripts I would believe. Just a security measurement
-
Did you declare it in resnametable? What client date you use?
-
I think change warp command to
warp instance_mapname("1@mapname"),x,y;
Don't know too much about 3ceAM but I'm assuming it's somewhat similar.
-
Exactly as my suggestion would have thought. Glad it worked out for you
-
This is a whole npc with those features based off euphys warped for Hercules.
-
Yeah i don't think the fake guild emblem is in this rewrite.
-
-
Get all the dragon balls and you may have your wish....
All puns aside;
I would assume you can find the texture/effect for "@clouds" command and recolor them to yellow? Any thought on this?
thanks Aeromesi
Solved!
So I was right? Yay! xD
how to get the vit of an enemy?
in Database Support
Posted
Currently no i don't think so. We need setmobdata/getmobdata for checking vitality of specified mob.