captenkapsas1997 Posted January 26, 2015 Posted January 26, 2015 geia sas ftiaxnw ena server kai thelw na kanw otan paithenis na se bgazi giran 3erei kaneis na me boithisi? Quote
0 'Baggos' Posted January 27, 2015 Posted January 27, 2015 (edited) Δοκίμασε μία το παρακάτω... Πήγαινε net.sf.l2j.gameserver.network.clientpackets.RequestRestartPoint.java (Δεν μπορώ να δοκιμάσω αν δουλέψει γιατί τα'χει παίξει το pc). case 27: // to jail if (!activeChar.isInJail()) return; loc = new Location(-114356, -249645, -2984); break;- - default:- loc = MapRegionTable.getInstance().getTeleToLocation(activeChar, MapRegionTable.TeleportWhereType.Town);- break;- } + + default:+ if (activeChar.isDead())+ {+ loc = new Location(82480, 149087, -3350);+ break;+ }+ loc = MapRegionTable.getInstance().getTeleToLocation(activeChar, MapRegionTable.TeleportWhereType.Town);+ break;+ } Edited January 27, 2015 by 'Baggos' Quote
0 Fanky Posted January 27, 2015 Posted January 27, 2015 Δοκίμασε μία το παρακάτω... Πήγαινε net.sf.l2j.gameserver.network.clientpackets.RequestRestartPoint.java (Δεν μπορώ να δοκιμάσω αν δουλέψει γιατί τα'χει παίξει το pc). case 27: // to jail if (!activeChar.isInJail()) return; loc = new Location(-114356, -249645, -2984); break; - - default: - loc = MapRegionTable.getInstance().getTeleToLocation(activeChar, MapRegionTable.TeleportWhereType.Town); - break; - } + + default: + if (activeChar.isDead()) + { + loc = new Location(82480, 149087, -3350); + break; + } + loc = MapRegionTable.getInstance().getTeleToLocation(activeChar, MapRegionTable.TeleportWhereType.Town); + break; + } τι εκανες εκει..;; geia sas ftiaxnw ena server kai thelw na kanw otan paithenis na se bgazi giran 3erei kaneis na me boithisi? requestrestartpoint.java - loc = MapRegionTable.getInstance().getTeleToLocation(activeChar, MapRegionTable.TeleportWhereType.Town); + loc = new Location(X, Y, Z); Quote
0 'Baggos' Posted January 27, 2015 Posted January 27, 2015 (edited) τι εκανες εκει..;; Δε θα δουλέψει καθόλου έτσι? Από απορία... Ήξερα πως ήθελε σβήσιμο το "loc = MapRegionTable.getInstance().getTeleToLocation(activeChar, MapRegionTable.TeleportWhereType.Town);" και αντικατάσταση με το "loc = new Location(82480, 149087, -3350);" αλλά δεν ήμουν σίγουρος.. νόμιζα πως είναι καθαρά μόνο για την jail. :/ Γι'αυτό είπα δε ξέρω αν δουλέψει... δε μπορούσα να μπω l2 να δοκιμάσω.. Edited January 27, 2015 by 'Baggos' Quote
Question
captenkapsas1997
geia sas ftiaxnw ena server kai thelw na kanw otan paithenis na se bgazi giran 3erei kaneis na me boithisi?
3 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.
Note: Your post will require moderator approval before it will be visible.