Moriarty
-
Posts
135 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Posts posted by Moriarty
-
-
I think your .@mapnvz$ isn't being setted, as it is as temporary variable, show the whole code.
-
Was it realeased? I see all the features on wiki, but no download
@Edit
Sorry, my bad. -
Why not open source?
-
And to correct your if, use if(isequipped(38089) && isequipped(38089)) {
-
Totally unpratical, seriously, too much hardwork while playing hahaha
And let go of the capital letters please.
-
Anywhere within all the other defs.
And being TXT or SQL doesn't matter, every time you change something on your source code, you need to recompile again.
Recompile is the action of creating the executables ( login-server.exe, map-server.exe, char-server.exe ), if you don't recompile, you will run the exe with the outdated code.
- 1
-
It needs to be in the right location, there is the place for the defs. The funcs can be almost anywhere.
By reloading everything, what do you mean? You need to recompile your build. -
Don't forget the def's
BUILDIN_DEF(playBGM,"s"), BUILDIN_DEF(playBGMall,"s?????"),
-
I was thinking about this, and found this is will be neat job.
Just imagine the flow, first all files loaded with mobs. in @relaodscript all scripts are unloaded (by npc_unload, regardless the files and their contents), then so?
Linking all mobs to NPC file names on load?
Make exception for the part of NPC that have to be unloaded or not?
If the NPC has boss, the boss will be skipped on next load file?
Actually, how to link Mob & NPC. On NPC unloaded, it's freed from memory, we can't stick the NPC id to monster.
And there are more something that will give me more pains when I just think about it, but idk for others.
Well, in my server, I just made reloadscript skip all files within mobs directory, if you want to do it just with MvPs, I guess you would separate all MvP spawns in a single file.
And.. well, actually I transformed all my mob spawns into a database table, it was a pain not being able to dynamically create natural spawns :v
But nevermind, as I said before, you can close this topic haha, thanks.
-
Put NPC on said map. Then have a donpcevent triggering that NPC to addrid.
This looks ugly as hell haha I'm aware of come arounds, it's just not practical.
-
addrid should have optional argument for map, the reason is obvious.
Currently you are limited to attach players from player/npc map. -
haShield does work with last rA o.O
Harmony doesn't, and you shouldn't use it, as it is abandoned since a long time ago. -
If something is unrecognized, it doesn't exists. Very simple, no?
-
it's the same with rA i think, take a look here https://rathena.org/board/topic/86650-officially-supported-client-versions/#entry218860
not, it's not the same with rA.
Actually there is no reason why someone would use eA, as it is waaay too old, and full of exploits.
About your question, sorry, I'm don't know.
-
I mean the space the sprite occupies... derp
anyway, Tokei helped me already thru Discord
-
I have a big retangular npc sprite, and I wish to calculate the area it occupies.
Horizontal and Vertical calculation is easy.
Is know it's X area, Y area, position and direction.
I need now to calculate diagonal area, to get all the cells the npc occupies, not sure about the math behind it.
Remembering that npc position 1 and 5 != 3 and 7Thanks
-
It's not hard to learn.
Anyway, I already told you your problem with attachrid, use account id, not char name. -
*attachrid(<account ID>)*detachrid;These commands allow the manipulation of the script's currently attached player.While 'attachrid' allows attaching of a different player by using its account idfor the parameter RID, 'detachrid' makes the following commands run as if thescript was never invoked by a player.The command returns 0 if the player cannot be attached (if the account is offlineor does not exist), and 1 upon success.
Maybe because you are using the wrong argument?
And, addrid is somewhat confusing for me, in your place I would do a query_sql where char `last_map` = x, using SQL function RANDOM to randomize the result. -
Delete this
-
Oh.. you are so right, I will bend in my bed a little to reflect why password encryption was ever created.
-
We lack functions like UNIX to Date conversion and vice versa.
I know these are available thru SQL, but we're not always working with database. -
U will not be hacked if u learn to protect your web sites against sql inyection, too many webs and Ragnarok CP are bulnerables to that U_U
Yeah, because no major company ever got hacked.
And the last part of your sentence is exactly why there should be better encryption, AND IT SHOULD BE ENABLED BY DEFAULT.
-
Isn't it past time to implement a new encryption type like SHA-256?MD5 is easily breakable, so there is really no reason someone would bother save encrypted passwords, and that's just a loss.. to players, as newbies admins frequently get hacked
-
I think every gamer has the dream to create his own game, to customize a Ragnarok Server is something close to that.
OnPCLogoutEvent
in Script Requests
Posted
Add this:
announce "There are "+getmapusers("quiz_01")+" players on the map",8;
after the OnPcLogoutEvent ( before the if ).
Log double account and see what number appears on the announce after loggin out.
If it's 1, then it's weird.
As an alternative you can create a timer, that checks every 1 minute if there is only one player in the map, then you don't have to use OnLougoutEvent. ( Event start would initnpctimer, and OnTimer60000: would reset the timer if the event is still going on ).