
KirieZ
Core Developers-
Content Count
240 -
Joined
-
Last visited
-
Days Won
24
Content Type
Profiles
Forums
Downloads
Staff Applications
Calendar
Everything posted by KirieZ
-
Unable to set SO_REUSEPORT Help xD
KirieZ replied to Natandrummer16's question in General Server Support
Check your clientinfo, it must have the host ip (or DNS name) and Port of the login server (if you have changed it), if this is Ok, ensure that there is no other errors when your servers start. -
Hello everybody, I'm moving my server to a Host, but whenever I run it, it displays lots of Warning about setsocketopts, this is one of them: [Warning]: setsocketopts: Unable to set SO_REUSEPORT mode for connection #6![Warning]: setsocketopts: Unable to set TCP_THIN_LINEAR_TIMEOUTS mode for connection #6![Warning]: setsocketopts: Unable to set TCP_THIN_DUPACK mode for connection #6! I can connect and everything, but letting these warnings doesn't feel right. What can I do? Thanks in advance
-
Hello everybody, I'm trying to write some plugins to learn how it works but I got the following problem: I've used addBattleConf to make some confs, they work perfectly through the code, but I can't show them at a NPC (using getbattleflag command), is there a way to do it or it needs a new script command? Thanks in advance. (not sure if I've posted in right section)
-
As far as I understood what you want, you're trying to find Hugin from Old Glastheim Instance (http://irowiki.org/wiki/Old_Glast_Heim), it is at npcreinstancesOldGlastHeim.txt If you can't find him in game, maybe you're not using Renewal or the script is disabled at your re/scripts.conf (in Hercules) or re/scripts_athena.conf (in rAthena)
-
I found a "workaround", (I hope I'm not breaking any rule for double posting in less than 24h) It seems that it is not possible to just duplicate the shop, so I made a function that all of these shops call when they init. Code:
-
If you are using the quest system (db_quest) it automatically share with others from the party who were in the same map. (Example: npc/pre-re/quests/collection/quest_fabre.txt - must be around level 10 to talk to npc at gef_fild07 321, 193)
-
Hello everybody, While doing some tests with the trader npc, I noticed that when I duplicate my trader, if I change the item list of one, all of them are affected. For example: - trader MyNpc#id -1,{OnInit: .@i = 400 + rand(0,10); sellitem Red_Potion, .@i; waitingroom "id: " + strnpcinfo(2) + " ; " + .@i, 0;end;}prontera,164,170,4 duplicate(MyNpc#id) MyNpc#1 101prontera,164,168,4 duplicate(MyNpc#id) MyNpc#2 101prontera,164,166,4 duplicate(MyNpc#id) MyNpc#3 101prontera,164,164,4 duplicate(MyNpc#id) MyNpc#4 101prontera,164,162,4 duplicate(MyNpc#id) MyNpc#5 101 This was a test to get 5 shops that sells the same thing but with different prices, but when testing, all of them have the same sell value (but the chat room is different). Is there a way to make each duplicate have a different item list? Thanks in advance.
-
I might be wrong, but I think autobonus only triggers when attacking or being attacked: From docs/script_commands.txt: *autobonus <bonus script>,<rate>,<duration>{,<flag>,{<other script>}};*autobonus2 <bonus script>,<rate>,<duration>{,<flag>,{<other script>}};*autobonus3 <bonus script>,<rate>,<duration>,<skill id>,{<other script>};*autobonus3 <bonus script>,<rate>,<duration>,"<skill name>",{<other script>};What these commands do is 'attach' a script to the player which will getexecuted on attack (or when attacked in the case of autobonus2). If you want to have it being triggered when attacking, maybe you are not getting it triggered because the chance is very small (0,10% I think)? And your bonus heals 1 point of HP, maybe you are not noticing it From docs/item_bonus.txt bonus2 bHPRegenRate,n,x; Gain n HP every x milliseconds If you want to try a higher chance, I edited your script to test here: (It heals 1000 of HP, though I'm not sure about the rate, but is more frequent) autobonus "{ bonus2 bHPRegenRate,1000,10000; }",5000,10000,BF_MAGIC,"{ specialeffect2 EF_HEAL; }"; Sorry, but I can't help more than this because I've never used these commands
-
Hello everybody, I would like to know if there is a way to make new constants for scripts, I tried to add some values to db/const.txt and they worked, but I'm not sure if it's good to do this haha. I thought about having a script that sets global variables ($@name and $@name$) inside a OnInit label too, but I'm not sure about the performance as the number of variables increases. So, is there any other way, or a better option between these two? Thanks in advance and sorry for english errors.