Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Shaiya > Shaiya Private Server
You last visited: Today at 17:24

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[HELP] Invasion system

Discussion on [HELP] Invasion system within the Shaiya Private Server forum part of the Shaiya category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2012
Posts: 107
Received Thanks: 18
[HELP] Invasion system

Hey guys i had a go to look for something to do with a working invasion system but i couldnt find anything.

But is there anyone that can give me any help on getting a working invasion map .

any help would be great thanks
Dread123 is offline  
Old 09/05/2012, 12:34   #2
 
elite*gold: 50
Join Date: Sep 2011
Posts: 408
Received Thanks: 1,262
Quote:
Originally Posted by castor4878 View Post
According some received PM I wasn't alone to face issues with this "old" episo 3 behavior.
So for those to whom it may be useful:

The portals definition is stored in .svmap file and is structured according to:
Code:
struct Portal {
	float	x, y, z;		// location of portal
	long	faction;		// faction that can use this portal
	short	minLvl, maxLvl;		// min & max levels to use portal
	long	dest;			// ID of destination map
	float	dx, dy, dz;		// coords of destination point
};
the faction member can be:
0: to allow all factions to use the portal
1: to allow lights only to use it
2: to allow darks only to use it

or any values greater or equal to 1000 used as a conditional access.
(not sure if the min value is actually 1000 or if all values > 2 are allowed, but 1000+ do work)

The goal of this thread was to link access to Jungle and DD1 to the ownership of some relics of D-Water (of course you can apply the same logic on other portal, such as invasion ones).

The portals of map 0 are so defined as follows:
Code:
X,Y,Z,faction,minLvl,maxLvl,destID,dX,dY,dZ
2001.4,  17.5,  311.1,    2, 0,99, 29, 1772.3, 28.1, 1840.9
  76.6,  24.8, 1981.9,    1, 0,99, 28, 1653.0, 29.7,  189.8
1325.1,  23.1,  958.7,    2, 0,99,  3,   16.0, 13.0,  136.0
1320.6,  48.1, 1480.3,    2, 0,99,  9,  519.0,  5.0,  772.0
 528.5,  11.9, 1317.0,    1, 0,99,  3,  117.0, 23.0,   25.0
 770.1,  27.9, 1258.2,    1, 0,99,  9,  201.9, 14.7,    7.6
1941.1,  13.9,  367.3, 1003, 0,99, 45,  859.5,  4.0,  308.1
1921.2,  13.9,  332.0, 1002, 0,99, 47,  571.4,  7.0,  194.1
 187.0,  25.4, 1832.6, 1001, 0,99, 45,  923.7, 10.0,  864.7
 223.4,  25.5, 1873.3, 1000, 0,99, 47,  125.6,  9.0,  454.1
 886.6, 145.2,  776.7,    2, 0,99, 56,  244.2, 29.3,   81.2
 886.0, 161.0,  777.1,    1, 0,99, 55,  244.2, 29.3,   81.2
meaning that:
light portal to Jungle (47) uses condition 1000
light portal to Desert (45) uses condition 1001
dark portal to Jungle (47) uses condition 1002
dark portal to Desert (45) uses condition 1003

in order to define these conditions, we need the name definition of the D-Water relics, we found them in Obelisk.ini under "zone_0" block:
  • Obelisk_001: Flagrans
  • Obelisk_002: Lucifera
  • Obelisk_003: Inferus
  • Obelisk_004: Remetion
  • Obelisk_005: Medius
  • Obelisk_006: Entis
  • Obelisk_007: Heres

now come our actual access restrictions, of course you will define your own conditions, and depending of your choices portals will have exclusive access (if light & dark need to own the same relic) or concurrency access (if relics are listed once).

for this example, the following conditions are used:

Light:
have access to Jungle when they own Medius (5) & Remetion (4)
have access to Desert when they own Medius (5) & Lucifera (2), Entis (6)

Dark:
have access to Jungle when they own Medius (5) & Flagrans (1)
have access to Desert when they own Medius (5) & Inferus (3), Heres(7)

we simply translate these conditions to portal restrictions definition in obelisk.ini file.
it comes:
Code:
[Portal_001, (0, 1000)]
	[light] = (0,Obelisk_004),(0,Obelisk_005)
[Portal_002, (0, 1001)]
	[light] = (0,Obelisk_002),(0,Obelisk_005),(0,Obelisk_006)
	
[Portal_003, (0, 1002)]
	[fury]  = (0,Obelisk_001),(0,Obelisk_005)	
[Portal_004, (0, 1003)]
	[fury]  = (0,Obelisk_003),(0,Obelisk_005),(0,Obelisk_007)
where syntax is:
[Portal_NNN, (mapID, conditionID)]
[country] = (map,obelisk) [ , (map,obelisk) ]

NNN is an incremental index starting at 001
mapID is the index of the map containing the portal
conditionID is the 'Faction' member of the portal definition

country is 'light' or 'fury' and is followed by a list of (id of map containing the relic, name in obelisk.ini of the relic to own) couples.
Here Castor explained it very well. Also here is the original topic If you want to read it

Edit : Don't forget to change your portal id in svmaps
JuuF is offline  
Thanks
14 Users
Old 09/07/2012, 14:08   #3
 
elite*gold: 0
Join Date: May 2012
Posts: 95
Received Thanks: 56
I wantd to put this on my server have an invasion system like that in EP5 ... Is there anyway to get the messages to work or is it Automatic?

I mean like when PR is open it tells you lights can invade (sorry was a lil vague o first attempt)
[Boss]FemmeFatale is offline  
Old 09/07/2012, 16:54   #4
 
mabejenta's Avatar
 
elite*gold: 0
Join Date: Jul 2012
Posts: 39
Received Thanks: 25
I don't know if this help's or not, but if you want a portal to allways be open so that people can invade eachother, why not just add a NPC that takes them to the map you want to let them invade?

If that is not the case, you can actually add custom portals in the obelisk.ini, and if you copy the sone 64 codes, and add a new portal with theese things, you should be good to go. All you need to do, is edit the coord, and what type of portal it is, and when you want it to be open. I've tested that a couple times, and managed to make special portals. However, I failed at adding the graffics to the portals.

Hope that helps.
mabejenta is offline  
Old 09/07/2012, 17:08   #5
 
elite*gold: 5
Join Date: Jun 2012
Posts: 176
Received Thanks: 214
/finished.^^
..Zeus.. is offline  
Old 09/07/2012, 21:05   #6
 
elite*gold: 0
Join Date: Sep 2012
Posts: 60
Received Thanks: 28
Quote:
Originally Posted by [Boss]FemmeFatale View Post
I wantd to put this on my server have an invasion system like that in EP5 ... Is there anyway to get the messages to work or is it Automatic?

I mean like when PR is open it tells you lights can invade (sorry was a lil vague o first attempt)
first to do so you need to edit and add new notice commands as you see this file in your data.sah, the file name is sysmsg-uni this is how to edit messages in game of deaths etc as you will see my customized settings i already done.
retrogod is offline  
Old 09/08/2012, 21:32   #7
 
liston28727's Avatar
 
elite*gold: 0
Join Date: Mar 2012
Posts: 11
Received Thanks: 0
Question Messages

My question is how do you get the messages to appear when the corresponding action takes place in the game???
liston28727 is offline  
Old 09/09/2012, 03:53   #8
 
elite*gold: 0
Join Date: Sep 2012
Posts: 60
Received Thanks: 28
Quote:
Originally Posted by liston28727 View Post
My question is how do you get the messages to appear when the corresponding action takes place in the game???
yea it does when doing so make sure you make a new notice and make sure its
<#Of the digit>"[Notice]<main.starting.word.here><p>other part of speech here<p>"
then edit the map to were as guild rankings has a date of time that it notices matching the new notice in what map zone you made for it that is how i got mine as well as removing the guild ranking since that its a full free pvp and we do pvp guild vs guild events easy to do this if you know what your doing following steps. thanks regards legions of shaiya
retrogod is offline  
Thanks
1 User
Old 11/02/2015, 07:29   #9
 
elite*gold: 0
Join Date: Jul 2009
Posts: 380
Received Thanks: 85
Quote:
Originally Posted by retrogod View Post
yea it does when doing so make sure you make a new notice and make sure its
<#Of the digit>"[Notice]<main.starting.word.here><p>other part of speech here<p>"
then edit the map to were as guild rankings has a date of time that it notices matching the new notice in what map zone you made for it that is how i got mine as well as removing the guild ranking since that its a full free pvp and we do pvp guild vs guild events easy to do this if you know what your doing following steps. thanks regards legions of shaiya

so from what you are saying if you "[Notice]<104><p>Map 104 is now open<p>"

and add the create time in map 104 it would display this notice when the map opens ? if not im at a loss i realy wanna get some notices going when certin maps open up any 1 alse been able to get this working ?
Big_ is offline  
Old 11/02/2015, 18:30   #10
 
AxelMac's Avatar
 
elite*gold: 0
Join Date: Aug 2012
Posts: 454
Received Thanks: 111
AxelMac is offline  
Old 11/02/2015, 20:55   #11
 
elite*gold: 0
Join Date: Jul 2009
Posts: 380
Received Thanks: 85
That not what i was asking AxelMac i have a 6.3 server fully working invasion system thats ws not my question my question was how this guy says he got notices working on difrent maps at certin times like GRB the invasion notice to say the portal is open things like that
Big_ is offline  
Old 11/03/2015, 01:15   #12
 
AxelMac's Avatar
 
elite*gold: 0
Join Date: Aug 2012
Posts: 454
Received Thanks: 111
need add system of invasion, after edit ur sysmsg-uni.txt as listed above, and working, i use a client 5.4 and working, if want know how edit maps or altar that they have to do, reply and we help, if you edit it and apply this file (obelisk.ini and map70) invasion system working. now I think this is the problem, or did not understand the question
AxelMac is offline  
Old 11/03/2015, 08:01   #13
 
elite*gold: 0
Join Date: Jul 2009
Posts: 380
Received Thanks: 85
this is deffinatly not my problemas i have sed i run a 6.3 server and have fully working invasion system im talking bout notices for diffrent maps being opend for events and other things

but thanx anyways =)
Big_ is offline  
Old 11/03/2015, 18:30   #14
 
elite*gold: 0
Join Date: May 2012
Posts: 394
Received Thanks: 392
I believe it's inside the sysmsg.ini inside client. Lookup the line for IO or GRB and it should give some info as how it works/what is needed. Do you get any message at all when invasion activates (even if it says message error 1808 (for example)) or is it completely blank with no notices?

Failing that, i would suggest to attach CE and trace what happens when one of those map notices appears, try figure it out that way. Haven't tried myself, but doesn't seem that it would be too hard.
Truth1010 is offline  
Reply


Similar Threads Similar Threads
invasion der Eisberge?? invasion the iceberg??
04/13/2012 - DarkOrbit - 3 Replies
http://www.fotos-hochladen.net/uploads/unbenanntp5 lh6nje4y.png Was is das fürn Event? What is this for Event?
Invasion Gate Bot?
12/11/2011 - DarkOrbit - 3 Replies
Is there a bot to do invasion gate? and sell cargo if you have the drone to sell, or refine and use it for lasers?
P-Server with Invasion System/suche p-Server mit invasions System
10/10/2011 - Shaiya Private Server - 4 Replies
hallo, ich suche einen p-server mit invasion system. Hello im looking for shaiya p-server with invasion system
Goldbot Invasion
10/11/2010 - Silkroad Online - 9 Replies
Seems the goldbotters are coming back. No statue of justice anymore ? Joimax need money ? Idk but will get crowed servers very soon again if Joimax dont stop them again. Yesterday night i saw some goldbots today i saw much more from them. Tomorrow they Invade us.
Invasion WTF
03/08/2008 - Flyff - 9 Replies
Halli Hallo Ich wollte mal frage ob es auf andere Server ausser Demian auch ne Invasion gabs. Denn gestern stellte ich überraschend fest das es eine invasion kommen sollte. Die gabe es auch , abd war nur 3 stunden da und wollte ausserdem noch fragenwelche Monster bei gabs. mfg dennis904



All times are GMT +1. The time now is 17:24.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.