Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Shaiya > Shaiya Private Server > Shaiya PServer Development
You last visited: Today at 17:48

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

Advertisement



[Help]Opening/Closing a map on Boss Spawn/Death

Discussion on [Help]Opening/Closing a map on Boss Spawn/Death within the Shaiya PServer Development forum part of the Shaiya Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2016
Posts: 21
Received Thanks: 1
[Help]Opening/Closing a map on Boss Spawn/Death

Hello developers, i've lost like 2 hours trying to figure out how to open a portal once a boss respawns, and how to close it once it dies. I've tried both Lua and Obelisk ways.

With lua i tried this comand:

- Mob:LuaUpdateInsZonePortal ( 1001, 0 )

The one used by the CS's guards to open the portal in map 65, but how you probably know by default it's not working, at least, not on ep 5.4 servers, so i tried to edit a bit the comand, trying to understand what those numbers (1001, 0) means, so the 1001 stands for the Portal ID, the one it should open, still didn't get an explain for the 0, but following the comand syntax, i was thinking the script update the portal ID from 1001 to in this case 0. so i tried it with different combinations like (1001, 1) or even (2, 1) but nothing, nothing happens, if my theory is right, it doesn't update the value, or probably i just misunderstood the vules concept!

The second way i tried is with the Obelisk comands, following Freezing Mirage example, that open the portal for CT once it dies.

- [bothmob_002, (20, 2, 43200, (20,1002))] = (454.09, 1.5, 191.76),(1975, 1978)

This one is kinda weird too... 20 stays for the Map ID where the mob has to respawn, then we go to this 2, i have no idea what it means, but i noticed that editing it to for example 1, Mirage doesn't spawn after we will the Old, 43200 is the respawn time and then (20,1002) 20 should be again the Map ID, but this time where the portal is, and 1002 should be the portal ID. i've tried to open a portal situated on different map than the one where the mob is by editing it like [bothmob_002, (20, 2, 43200, (0,1002))] but then the mob doesn't respawn anymore aswell, so probably another misunderstood there too. Something should be written somewhere, we're just telling him the MapID and the Portal ID in this case, why does he open the portal? is editing the ps_game the only way to solve it? Or is there any way to Open a portal once a boss spawns and close it once it dies? basically, keep a map opened only if the boss is UP!
saler23 is offline  
Old 04/29/2017, 05:19   #2
 
elite*gold: 0
Join Date: Jul 2010
Posts: 523
Received Thanks: 523
Check this:
sominus is offline  
Old 04/29/2017, 06:34   #3
 
momocruz's Avatar
 
elite*gold: 0
Join Date: Sep 2011
Posts: 390
Received Thanks: 376
Quote:
Originally Posted by sominus View Post
Check this:
Don't Forget to go on SVMAP to not only on obelisk.ini


if on Obelisk portail are 1001 or 1002 on SVMAP you have to name same not only 1 or 2 or 0

To link portal with Obelisk you have to rename on Svmap to
momocruz is offline  
Old 04/29/2017, 08:21   #4
 
elite*gold: 0
Join Date: Oct 2016
Posts: 21
Received Thanks: 1
Quote:
Originally Posted by momocruz View Post
Don't Forget to go on SVMAP to not only on obelisk.ini


if on Obelisk portail are 1001 or 1002 on SVMAP you have to name same not only 1 or 2 or 0

To link portal with Obelisk you have to rename on Svmap to
Yes of course i edited the portal in svmap, but still nothing... checked also the Link sominus sent, does it works with the mobs too? Or only with the relics?
saler23 is offline  
Old 04/29/2017, 08:32   #5
 
momocruz's Avatar
 
elite*gold: 0
Join Date: Sep 2011
Posts: 390
Received Thanks: 376
Quote:
Originally Posted by saler23 View Post
Yes of course i edited the portal in svmap, but still nothing... checked also the Link sominus sent, does it works with the mobs too? Or only with the relics?
did you have make instance with the map you wanna use
momocruz is offline  
Old 05/02/2017, 07:15   #6
 
elite*gold: 0
Join Date: Oct 2016
Posts: 21
Received Thanks: 1
Quote:
Originally Posted by momocruz View Post
did you have make instance with the map you wanna use

Yes i've done that, the only thing i still didnt figure out is how to close a portal when a boss dies... tried both obelisk and lua, but still nothing, any suggestion?
saler23 is offline  
Reply


Similar Threads Similar Threads
Spawn Coor for boss and mini boss.
07/24/2018 - EO Guides & Templates - 62 Replies
Behemoth Boss LVL 71: 500,772 Dark Marsh Ice Demon Boss (Forgot the lvl): 344, 621 Icyland FourTeeth Boss LVL 93: 1107, 962 Volcano Green Devil: Misty Marsh 700,400 811 ,664 darknight 66 darkmash
Frage: Nach tötung von boss anderen boss spawn lassen wie?
04/10/2015 - Metin2 Private Server - 8 Replies
Moin moin, Ich habe mal eine Frage^^ ich baue mir grade ein Test-Server zum lernen, und ich finde leider nicht das was ich suche... deshalb frage ich hier mal nach, wie es der Titel schon sagt möchte ich Wissen wie ich .z.b. wenn ich den Sensenmann getötet habe dann der Blaue Tod spawn. thx im vorraus



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


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.