-
Posts
8,941 -
Credits
0 -
Joined
-
Last visited
-
Days Won
25 -
Feedback
0%
Community Answers
-
SweeTs's post in Which Programs I Need To Set Up L2Off To Windows 7 was marked as the answer
SQLManagementStudio && SQLEXPR.
-
SweeTs's post in How Can I Edit This? was marked as the answer
You cant hide the fact you are using frozen. The same commands, features.. "tvt, ctf, dm" - busted.
EnterWorld.java
-
SweeTs's post in Acis Problem was marked as the answer
Bcs you have both java. Uninstall all and keep only 7.
-
SweeTs's post in Not Banging Through Walls was marked as the answer
What? :y u no?:
Enable geodata..
-
SweeTs's post in Java Help After Compile was marked as the answer
Drop the configs, since they have no use. Take the l2jfrozen.jar from build and copy it (replace) to your server files, lib folder of gameserver.
-
SweeTs's post in Custom Frintezza Instance Help. was marked as the answer
There is an NPE, you miss the check. Could be.
-
SweeTs's post in Subeclipse Or Jdk? was marked as the answer
Take clean files of Eclipse and try to install only 1.6. Do not mess them together.
-
SweeTs's post in All Subs In One Npc was marked as the answer
All you have to change is this.. Like this, I have created a config for myself.
/* * Returns true if this PlayerClass is allowed for master */ public final boolean checkVillageMaster(PlayerClass pclass) { if (Config.ALT_GAME_SUBCLASS_EVERYWHERE) return true; return checkVillageMasterRace(pclass) && checkVillageMasterTeachType(pclass); } -
SweeTs's post in Hero Skills In Subs was marked as the answer
If you would use google.. First result or 2nd if you put "l2j" instead of "mxc".. http://bit.ly/1CGl8Mr
-
SweeTs's post in Error :p was marked as the answer
Huehue..
is the method like this?
+ public void rewardAioSkills() + { + L2Skill skill; + for (Integer skillid : Config.AIO_SKILLS.keySet()) + { + int skilllvl = Config.AIO_SKILLS.get(skillid); + skill = SkillTable.getInstance().getInfo(skillid,skilllvl); + + if(skill != null) + addSkill(skill, true); + } + } You miss the null check, else you added to the properties a skill id or lvl that desn't exist. You should check my latest cleanup, I dropped some crappy, useless code.. :P
-
SweeTs's post in Error While Adding Code was marked as the answer
if (addPvp((L2Playable)target) I doubt you need that (L2Playable), drop it. Add word final to the boolean.
-
SweeTs's post in Gameguard Error was marked as the answer
Switch dsetup/fire/core/engine/nwindow .dll and the error will be gone :P
I don't remember which exactly was for this error. Yday I was switching them, and I didn't noticed which one it was, I guess the engine.dll - but dsetup/fire dll is required to disable GG (update) :D
-
SweeTs's post in Systemmsg-E.dat was marked as the answer
You can easily make it on your own. Take clean file and find lines which you want to colorize.
-
SweeTs's post in Error "could Not Find Or Load Main Class.." was marked as the answer
You have to set the compiler to jdk. Windows -> Preferences -> Java -> installed jres and press "Add" -> select jdk from program files and then select it and you are done.
Old l2j int is using java 6 I guess, so you have to uninstall your java 8 and install JDK 6. But, I suggest you to use aCis with java 7. https://xp-dev.com/svn/aCis_community/
-
SweeTs's post in Flag Teleport was marked as the answer
You failed hard, brah.. If you know what I mean :D
if (player.getPvpFlag() != 0) { player.sendMessage("Get lost"); return; } -
SweeTs's post in Problem Selling With Gmshop was marked as the answer
There is, by default it's real price / 2
int price = item.getReferencePrice() / 2;
While your buy price is custom / way lower than original, it's gonna be like that.
-
SweeTs's post in Pvp/pk Circle Acis Problem was marked as the answer
Okay, I just checked the video to see what you want to achieve, since your posts mislead me, lol
### Eclipse Workspace Patch 1.0 #P aCis_gameserver Index: java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java =================================================================== --- java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java (revision 343) +++ java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java (working copy) @@ -1312,6 +1312,7 @@ sendPacket(new RelationChanged(getPet(), getRelation(this), false)); broadcastRelationsChanges(); + broadcastUserInfo(); } @Override @@ -4228,7 +4229,10 @@ PvpFlagTaskManager.getInstance().add(this, Config.PVP_NORMAL_TIME); if (getPvpFlag() == 0) + { updatePvPFlag(1); + setTeam(1); + } } public void updatePvPStatus(L2Character target) @@ -4245,7 +4249,10 @@ PvpFlagTaskManager.getInstance().add(this, checkIfPvP(player) ? Config.PVP_PVP_TIME : Config.PVP_NORMAL_TIME); if (getPvpFlag() == 0) + { updatePvPFlag(1); + setTeam(1); + } } } Index: java/net/sf/l2j/gameserver/taskmanager/PvpFlagTaskManager.java =================================================================== --- java/net/sf/l2j/gameserver/taskmanager/PvpFlagTaskManager.java (revision 343) +++ java/net/sf/l2j/gameserver/taskmanager/PvpFlagTaskManager.java (working copy) @@ -82,6 +82,7 @@ if (currentTime > timeLeft) { entry.getKey().updatePvPFlag(0); + entry.getKey().setTeam(0); iterator.remove(); } // Time almost runned out, update to blinking PvP flag. -
SweeTs's post in Respawn After Death was marked as the answer
What?
It's not gonna influence to the siege respawn.
-
SweeTs's post in Neewbie Question About L2Jacis Xd was marked as the answer
Answer to yourself :P
http://acis.i-live.eu/index.php?topic=30.msg36446#msg36446
-
SweeTs's post in Tool Who Donators Only Can Use Npc was marked as the answer
Create a new npc instance and hardcode the showChatWindow to display the htm you want
if (player.isVip()) //logic else //get lost -
SweeTs's post in Eclipse Problem was marked as the answer
Bcs you put that link into svn repo and you did checkout.
-
SweeTs's post in Problem Ramdon Fight In L2Jserver Hi5 was marked as the answer
setTeam(Team.BLUE); setTeam(Team.RED); setTeam(Team.NONE);