Switching Chaos Argent to Argent. [Detailed!]
This is a discussion on Switching Chaos Argent to Argent. [Detailed!] within the Tales of Pirates forums, part of the MMO and MMORPG Developments category; Alright, I'm making this guide, because I know there isn't a single solid guide to making chaos argent, I had ...
-
Member
Switching Chaos Argent to Argent. [Detailed!]
Alright, I'm making this guide, because I know there isn't a single solid guide to making chaos argent, I had to look around around 7 threads when I was having trouble. So here is the solid guide!
The first thing you want to know is that there is no "chaos argent", there is only "garner2" garner2 is what the game defines as chaos argent. Notice there won't be a folder entitled chaosargent in your resources folder, but there will be one titled garner2.
Open this folder, and find crtl.lua, open with notepad and find the line that says "get_map_entry_pos_garner2" It should be right in front of you.
Now, directly below that, where it says "local POS_X="..."" and "local POS_Y=..."", this is the coordinates of where you want your portal to be located. For example, here is mine:(argent fountain) 2232,2783. It should look like this now:
local POS_X=2232
local POS_Y=2783
return POS_X , POS_Y
Ok, we're almost done
, just 4 more steps.
Now, directly below this, you will find the lines "SetMapEntryMapName(map, "deepblue")" and "SetMapEntryTime(map, "2006/10/18/14/0", "...", "...", "...")"
Change the "deepblue" to "garner" and now, to change the times that the portal will open. the first set of quotations under "SetMapEntryTime" is the recurrence of time that the portal reopens in "Day/Hour/Minute". For example, if I put "0/1/0" in the first quotes, chaos argent will open every 1 hour.
The second set is the time chaos stays open, and the time chaos stays closed, in "Day/Hour/Minute". For the second, If I put "0/0/45", chaos argent portal would open for 45 minutes, and at the third if I put "0/0/15", it would close for 15 minutes.
On my server, chaos argent is open 24/7, so my code looks like this:
SetMapEntryTime(map, "2006/10/18/14/0", "0/1/0", "0/1/0", "0/1/0"
Only 2 more steps! Now, hit ctrl+f and search for this exact line: "function can_open_entry_garner2" You should find a paragraph like this:
function can_open_entry_garner2( map )
-- local time = GetTickCount ( )
local Now_Time = GetNowTime()
if Now_Time ==12 or Now_Time == 18 then
return 1
else
return 0 <------------ Change this to 1!
end
Change that 0 to a 1, or your map won't open.
Last Step! 
Open your gameserver.cfg, in your server files.
You should see something like this:
map = garner
map = eastgoaf
//map = guildwar
//map = lonetower
//map = leiting2
//map = teampk
This tells the game to load those maps. the // before one of the maps means inactive, so the game won't load guildwar, lonetower, etc.
Now, under "map = garner", add this line new: "map = garner2"
This will make the gameserver load chaosargent! It will look like this now!
map = garner
map = eastgoaf
map = garner2
//map = guildwar
//map = lonetower
//map = leiting2
//map = teampk
Now you're done! Go enjoy your new chaos argent map! I hope this helped you :P!
-
-
Registered
Re: Switching Chaos Argent to Argent. [Detailed!]
Heyy I really like your chaos argent guide :P
Maybe you should make a TOP server set a guide a new one, it seems the old threads dont seem preetty good you seem to explain your guides pretty well, maybe you can make a TOP server guide,Can you? :)
-
Member
Re: Switching Chaos Argent to Argent. [Detailed!]
Yes, I put the troubleshooting inside the own thing. I can make server set-up guide but will take a while x.x
-----------------------------------------------
The beatings will stop when morale improves
-
Newbie
Re: Switching Chaos Argent to Argent. [Detailed!]
-
Registered
Re: Switching Chaos Argent to Argent. [Detailed!]
Very nice...thanks for the guide. I just had to deduce all by my self. Took a while so it would be better if i had a very good guide as this.
(BTW im not very good at english srry)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules