Hi, any one works with ilext.dll from vangath, i want to know how works vote reward system.
In L2Server folder have vote.ini (example: i cfg with my server details)
[VoteSystem]
Enabled=1
;Sites separated with space
SectionList=HopZone
[HopZone]
Enabled=1
;Required points diff to give out reward in game
RequiredPoints=1
;http://l2.hopzone.net/lineage2/details/80687/L2MxC
UrlHost=l2.hopzone.net
UrlPath=/lineage2/details/80687/L2MxC
StartPointString=<span class="rank anonymous tooltip" title=
;Check points interval in seconds
CheckInterval=180
RewardId=57
RewardCount=1
;Filled by VoteCatcher.exe
CurrentPoints=0
;If set to 1 then it will multiply reward count
MultiplyRewardCountByVotes=1
;Gives reward to the same ip only once (checks also hwid)
RewardIpCheck=1
; dynamic words : [currentPoints], [section], [missingPoints], [requiredPoints]
IntervalAnnounce=Current [currentPoints] vote(s) in [section].
IntervalAnnounceEx=Missing [missingPoints] vote(s) for next reward [section].
RewardAnnounce=We've collected enough points for a [section] to give out the reward. Thank you.
RewardAnnounce=We've collected enough points for a [section] to give out the reward. Thank you.
and in ilext.dll
[VoteReward]
Enabled=1
;Item pair list, format: item_id;item_amount, separated with space
RewardList=57;1
;Points required to get 1x reward
RequiredVotePoints=1
;Url to vote script
HttpRequestUrl=api.hopzone.net
PendingJobLimit=50
;server id generated by toplist
ServerId=1
;Secret key generated by toplist
SecretKey=asdasdasd
the dude is in HttpRequestUrl=api.hopzone.net
because, in server say none vote when have already 1 or 2. how to connect?
if (user.DistTo(Char2) < radius_max)
and not (char2.ismember)
and not (char2.dead)
and not (user.clanid = char2.clanid)
and not ((char2.ClassID = 27) or (char2.ClassID = 103)) // Changed from User to char2
and (char2.pvp) then
begin
// Your code to target char2
end;
Question
dandiarena
Hi, any one works with ilext.dll from vangath, i want to know how works vote reward system.
In L2Server folder have vote.ini (example: i cfg with my server details)
and in ilext.dll
the dude is in HttpRequestUrl=api.hopzone.net
because, in server say none vote when have already 1 or 2. how to connect?
Link to comment
Share on other sites
7 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.