Garr
Members-
Content Count
482 -
Joined
-
Last visited
-
Days Won
8
Content Type
Profiles
Forums
Downloads
Staff Applications
Calendar
Everything posted by Garr
-
Questions related to wiki Installation(Debian)
Garr replied to swapnil0545's question in General Server Support
1) Users have rights to create files/folder only inside folders they have writing permission in, note that you can view folders that you have execute permission on. As a way to overcome it add to group that can edit the files or chown all the files to hercuser or chmod all files so that other can write them (777). 2) ~/ signifies home category for the user you're logged with. For instance, a basic user will have ~/ equal to /home/username/, while root has it inside root, by default. -
http://herc.ws/board/files/file/202-hercules-hpsp-table-generator/
-
Taken from doc/script_commands.txt, under addtimer: One more thing. These timers are stored as part of player data. If the player logs out, all of these get immediately deleted, without executing the script. If this behavior is undesirable, use some other timer mechanism (like 'sleep').
-
What's your emulator? Because I can't find anything like this in current herc setup. Well, not for deluge, at least.
-
rA uses completely different instance setting, it has instance_db, so it doesn't need instance_attachmap/instance_set_timeout. Also, there's no instance map name emulation or character/guild/anyone instances.
-
Use monster constant, by default 2nd value in line in mob_db1/2 (Sprite_Name).
-
*Assumptio You don't need to trace the skill, trace status change (everything that has an icon appearing on the right of screen is a status change) Actually, if you don't want some buff just dispel it on entrance: sc_end SC_ASSUMPTIO; //If person has assumptio buff it will be dispelled. If you really want to check if assumptio is on, you can use this check (note that it's not needed in the above case): if( getstatus(SC_ASSUMPTIO) ) {//code}
-
*getvariableofnpc(<variable>,"<npc name>")Returns a reference to a NPC variable (. prefix) from the target NPC.This can only be used to get . variables. So, to actually set it you'll go set getvariableofnpc(<variable>,"<npc name>"),<newvalue>; I'm not really sure if it'll work with direct assignment as I didn't try it. Also, .var is not a script variable, it's an NPC variable. It's stored within NPC data, and is shared between duplicates of this NPC only. It's NOT shared within one script file. And yes, it's stored in RAM.
-
Experience mostly, I've started using it before I got my hands on source, so had to figure out myself at first. Just to clear things up for the rest of temp variables: @variable - lasts until character disconnects .@variable - lasts until current instance of script ends (script hits an *end or *close) $@variable - lasts while map-server lasts $@ variables are server-wide. If you set them in one script they are accessible from any script. Check that both variables are written in same case and you've written the name right.
-
It lasts while map server works. Once server crash or restart it's gone.
-
I guess, if you'll send me to PM what you have so far and elaborate on some moments, like IDs of the mini bosses and such. Description you gave is a bit too vague to script imo.
-
I think this should work, didn't test it though prontera,150,150,5 script codes 89,{ set .@n$,"[code Creator]"; mes .@n$; mes "This code will only work with the help of the Administrator. Please give this code to our Administrator so that they can Reset your System Credential."; next; mes .@n$; mes "Please write this down."; mes "==================================="; for (.@i = 0; .@i< 10; .@i++) { .@ch$ = .codes$[rand(getarraysize(.codes$))]; .@gen$[.@i] = (rand(2)?strtolower(.@ch$):.@ch$); } mes "Your Code is: " + implode(.@gen$); close; OnInit: setarray .codes$[0],"A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","1","2","3","4","5","6","7","8","9","0"; end;}
-
Rename the one I sent you into ItemInfo.lub and it should work. Unless you really want to compile it.
-
Try attached one Made it using Server Database Editor, so all thanks if it works should go to @@Tokeiburu. itemInfo.zip
-
Wow, thanks, I was searching on how to make IS silently install VC redists.
-
I'd check encoding on the newly created file, it should be in korean encoding. I'd assume that your custom file names are in english characters, so it doesn't affect them, but all of official ones are affected.
-
conf/subnet.conf is your answer
- 2 replies
-
- external ip
- ip
-
(and 2 more)
Tagged with:
-
TXT configuration is now dropped in both rAthena and Hercules. I'd say there are little to no differences between rAthena and Hercules concerning pre-renewal. Imo rAthena is a tad more stable, Hercules is way more advanced with plugin system and has better support.
-
What if I want host my server on my own pc?
Garr replied to Aurora's question in General Server Support
Usually there's a DMZ option on router (DeMilitarize Zone), which automatically port forwards every port to one internal IP. I think it might be easier to use that for you. Using this screenshot as a reference, you need to check "Enable DMZ", choose WAN network that will serve the outer connection (usually there's only one) and input your PC LOCAL IP address. I repeat, LOCAL. Usually they look something like 192.168.x.x or 10.0.x.x. To find what's your PC internal IP use: win+R -> cmd -> ipconfig /all Under one of interfaces you'll see something like this: That's your internal IP address. It's an added bonus if you'll make it static. I think this guide will be useful if you'll try with port forwarding anyway. -
Just imagine an array. What you currently want is for array to provide different elements(character info) under one and the same index (account_id) at the same time.
-
I don't think so, but you can write the OnTimer label on the NPC you need it on and just initnpctimer from the npc you want to call misceffect: *initnpctimer { "<NPC name>" {, <Attach Flag>} }
-
What if I want host my server on my own pc?
Garr replied to Aurora's question in General Server Support
I'd not advice you to host a server on your own PC, unless it's a test server. But if you really want it so you'll need to have a compiler ready, depending on your OS (gcc, MSVC and so on), as well as set up a SQL server. Usually people go with WAMP/LAMP setup to get all they need in one go (MySQL is included, it also has PHP/Apache, but those are not needed for server to run). Further, you'll preferrably need white IP so your IP won't change on PC/router/whatever reload. Otherwise you can use www.noip.com as stated above. Also, you'll need to check in with your router settings to approve all incoming/outgoing connections on specific ports you set up for your server, you can find a handful of sites that can do that check by simply searching on google. Otherwise from that the setup/configurations doesn't change much from doing all of this on a VPS. -
I'd say they are ~same in managing if you know SQL, otherwise text is preferred. For instance, if I want to replace something in huge amounts in text file I just go find and replace in text file via standart tools (wordpad, for instance). To do mass changes in SQL you'll have to know about replace and know what exactly in what column might appear. And, I'd say with SDE (all hail Tokei) text files are even more manageable, as you can have a local copy and edit it without perma inet connection to your SQL db.
-
If you'll look on wiki link closer you'll see that it's pre-renewal irowiki But I don't really know when it changed, so I'm not in position to conjecture how it's supposed to be on pre-re.