-
Re: [Release] | v75 | ShineMS | ShineSource 1.9
so wait @help doesnt work but does @commands im not sure im confused now?
---------- Post added at 06:12 AM ---------- Previous post was at 05:56 AM ----------
LuckySage update the Svn its at rev 2.0 now
---------- Post added at 06:24 AM ---------- Previous post was at 06:12 AM ----------
yea Shine In Next Rev can u fix @commands/@help/@command non will work and list the Player commands
if so thanks
-
Re: [Release] | v75 | ShineMS | ShineSource 1.9
Quote:
Originally Posted by
{thomas}
so wait @help doesnt work but does @commands im not sure im confused now?
---------- Post added at 06:12 AM ---------- Previous post was at 05:56 AM ----------
LuckySage update the Svn its at rev 2.0 now
Lol this ain't my project.:$:
-
Re: [Release] | v75 | ShineMS | ShineSource 1.9
Quote:
Originally Posted by
Rice
CharCreateHandler.java
I think there's a guide. If not, might make one.
---------- Post added at 06:57 PM ---------- Previous post was at 06:56 PM ----------
PlayerLoggedinHandler.
In net/channel/handler
Thanks! It both helped me, though LuckySage helped me on the first part already!
I need help - changing MTS on click brings player to FM, and I wanna block the FM entrance door in FM (cos it bugs when my players use @go fm and exit from there) and I've tried to read this guide but can't find what I want. And about PlayerNPC, does anyone have a good guide on RageZone? I searched but to no avail.
-
Re: [Release] | v75 | ShineMS | ShineSource 1.9
How do i change the starting map equips for the players?
-
Re: [Release] | v75 | ShineMS | ShineSource 1.9
Quote:
Originally Posted by
yy1993
Thanks! It both helped me, though LuckySage helped me on the first part already!
I need help - changing MTS on click brings player to FM, and I wanna block the FM entrance door in FM (cos it bugs when my players use @go fm and exit from there) and I've tried to read this
guide but can't find what I want. And about PlayerNPC, does anyone have a good guide on RageZone? I searched but to no avail.
What you want to know about the PlayerNPCs?
-
Re: [Release] | v75 | ShineMS | ShineSource 1.9
Quote:
Originally Posted by
LuckySage
What you want to know about the PlayerNPCs?
I managed to change the name of Shine, and the hairdo, face, etc. But I'm stuck with the NPC's clothing. I wanted it to have a full Wizet suit. I wanna know about how to edit the position of the equips and also how to place the equips. I changed the item ID to the Wizet ones, but only the top is shown. Hat, bottom and weapon (the Wizet suitcase) aren't showing.
---------- Post added at 03:35 PM ---------- Previous post was at 03:34 PM ----------
Quote:
Originally Posted by
caslify
How do i change the starting map equips for the players?
There's one mentioned by LastBreath at the top.
-
Re: [Release] | v75 | ShineMS | ShineSource 1.9
Quote:
Originally Posted by
yy1993
I managed to change the name of Shine, and the hairdo, face, etc. But I'm stuck with the NPC's clothing. I wanted it to have a full Wizet suit. I wanna know about how to edit the position of the equips and also how to place the equips. I changed the item ID to the Wizet ones, but only the top is shown. Hat, bottom and shoes aren't showing.
How about you just delete the playernpc from the table and get your character the clothes you like to. Then just use /playernpc with the id which is used for the npc you just deleted. It should work the same with a different character look.
-
Re: [Release] | v75 | ShineMS | ShineSource 1.9
Quote:
Originally Posted by
LuckySage
How about you just delete the playernpc from the table and get your character the clothes you like to. Then just use /playernpc with the id which is used for the npc you just deleted. It should work the same with a different character look.
So if I type /playernpc with the ID, then it'll follow my character's looks? I'm new to PlayerNPC stuff.
-
Re: [Release] | v75 | ShineMS | ShineSource 1.9
Quote:
Originally Posted by
yy1993
So if I type /playernpc with the ID, then it'll follow my character's looks? I'm new to PlayerNPC stuff.
Ok I'll explain it stepwise so it couldn't be more easy to you.
In this example I'll replace the old clone npc (shine) with a new one.
1. Get some nice clothes you want your npc to have and wear them.
2. Go to your Playernpc table in mysql and delete the shine npc (edit,right click, delete rows, apply changes).
3. Go back ingame and use /playernpc [your character name] [npc id]
Shine NPC example: /playernpc LuckySage 9901003
4. Go back to your playernpc table in mysql and change the name to whatever you want to (edit, click, change name, apply changes).
5. Now restart your server and you've got a working PlayerNPC.
-
Re: [Release] | v75 | ShineMS | ShineSource 1.9
Quote:
Originally Posted by
LuckySage
Ok I'll explain it stepwise so it couldn't be more easy to you.
In this example I'll replace the old clone npc (shine) with a new one.
1. Get some nice clothes you want your npc to have and wear them.
2. Go to your Playernpc table in mysql and delete the shine npc (edit,right click, delete rows, apply changes).
3. Go back ingame and use /playernpc [your character name] [npc id]
Shine NPC example: /playernpc LuckySage 9901003
4. Now restart your server and you've got a working PlayerNPC.
Ahh! Thanks, mate. Btw, how do I add !zakum for my other GMs? Cos when I copy and paste the Zakum code from /zakum's one, I get compile errors. When I remove it, I can compile.
-
Re: [Release] | v75 | ShineMS | ShineSource 1.9
Quote:
Originally Posted by
yy1993
Ahh! Thanks, mate. Btw, how do I add !zakum for my other GMs? Cos when I copy and paste the Zakum code from /zakum's one, I get compile errors. When I remove it, I can compile.
Make sure you also copied thhe right imports from the admincommands.java.
I guess this is the only one you will need:
Code:
import server.life.MapleLifeFactory;
-
Re: [Release] | v75 | ShineMS | ShineSource 1.9
Quote:
Originally Posted by
LuckySage
Ok I'll explain it stepwise so it couldn't be more easy to you.
In this example I'll replace the old clone npc (shine) with a new one.
1. Get some nice clothes you want your npc to have and wear them.
2. Go to your Playernpc table in mysql and delete the shine npc (edit,right click, delete rows, apply changes).
3. Go back ingame and use /playernpc [your character name] [npc id]
Shine NPC example: /playernpc LuckySage 9901003
4. Go back to your playernpc table in mysql and change the name to whatever you want to (edit, click, change name, apply changes).
5. Now restart your server and you've got a working PlayerNPC.
Sorry about this, but after I've deleted the rows, and went back to my server, I typed "/playernpc Avarice 9901003" and nothing happened. After I shut down the server, I checked the MySQL database, there isn't any new records in the PlayerNPC table.
-
Re: [Release] | v75 | ShineMS | ShineSource 1.9
There's a /playernpc command?
-
Re: [Release] | v75 | ShineMS | ShineSource 1.9
Quote:
Originally Posted by
LuckySage
Make sure you also copied thhe right imports from the admincommands.java.
I guess this is the only one you will need:
Code:
import server.life.MapleLifeFactory;
I have that import and Horntail has been added for normal GM to !horntail.
I copied this code
Code:
} else if (splitted[0].equals("zakum")) {
player.getMap().spawnFakeMonsterOnGroundBelow(MapleLifeFactory.getMonster(8800000), player.getPosition());
for (int x = 8800003; x < 8800011; x++) {
player.getMap().spawnMonsterOnGroudBelow(MapleLifeFactory.getMonster(x), player.getPosition());
}
Now, I can compile well. Guess it's just some syntax or symbols being added wrongly in the file. Thanks!
-
Re: [Release] | v75 | ShineMS | ShineSource 1.9
Hi I'm new to all this things and how do i use this?
-
Re: [Release] | v75 | ShineMS | ShineSource 1.9
There's a bug that when you are more than level 10, you can't do job with @cody. They will say "do job as null" and then if you try to type "!level 10" for GMs, it doesn't work. Log out and your character is still in-game. Had to restart server.
---------- Post added at 07:29 PM ---------- Previous post was at 07:07 PM ----------
Btw, does anyone know how can I let 9100000 (Kerning City Manekineko) to use a script? I want it to run the Max-Stat Items script, and have added a new .js file named 9100000.js in the scripts\npc path. It didn't work out.
-
Re: [Release] | v75 | ShineMS | ShineSource 1.9
Quote:
Originally Posted by
yy1993
There's a bug that when you are more than level 10, you can't do job with @cody. They will say "do job as null" and then if you try to type "!level 10" for GMs, it doesn't work. Log out and your character is still in-game. Had to restart server.
---------- Post added at 07:29 PM ---------- Previous post was at 07:07 PM ----------
Btw, does anyone know how can I let 9100000 (Kerning City Manekineko) to use a script? I want it to run the Max-Stat Items script, and have added a new .js file named 9100000.js in the scripts\npc path. It didn't work out.
MAke sure your characters GM lvl is 3 otherwise the commands starting with "/" won't work.
-
Re: [Release] | v75 | ShineMS | ShineSource 1.9
Quote:
Originally Posted by
LuckySage
MAke sure your characters GM lvl is 3 otherwise the commands starting with "/" won't work.
Yep, they are level 3 and can do commands such as /horntail etc. The bug's with the @cody one. I was level 126, typed @cody and my job's beginner, it says what change job to NULL. Then I tried changing my level to 10 by typing !level 10, it didn't change my level. Then my character is stuck at the map. I tried this two times already.
Btw, for the playernpc code, I'm using the admin account, I typed /playernpc Avarice 9901003 but it didn't work. I've no PlayerNPCs in MySQL database now.
Edit: What's the NPC name and shop ID which is the all-in-one seller?
-
Re: [Release] | v75 | ShineMS | ShineSource 1.9
Quote:
Originally Posted by
yy1993
Edit: What's the NPC name and shop ID which is the all-in-one seller?
it is 9001003...
-
Re: [Release] | v75 | ShineMS | ShineSource 1.9
will there be all working pqs and monster carnival in the coming revision for this repack?
-
Re: [Release] | v75 | ShineMS | ShineSource 1.9
Quote:
Originally Posted by
caslify
will there be all working pqs and monster carnival in the coming revision for this repack?
I think so! Since you had suggested,maybe there will be.
-
Re: [Release] | v75 | ShineMS | ShineSource 1.9
Quote:
Originally Posted by
Expedia
Monster carnival doesnt even take that long to add, when Jvlaple released like 95% of it, and all you need to do is update the packets. As the other pqs all have been released except the new ones like ElinForestPQ, CrismonKeepPQ, and MagatiaPQ
He coded it horribly though.
-
Re: [Release] | v75 | ShineMS | ShineSource 1.9
wait to use commands its not ! its /
-
Re: [Release] | v75 | ShineMS | ShineSource 1.9
Quote:
Originally Posted by
{thomas}
wait to use commands its not ! its /
Depends on what commands you're talking about. The actual player commands that exist in GMS are "/" but the ones used in private servers are "!" for GMs and "@" for players (I think? Haven't touched a source in almost a year)
-
Re: [Release] | v75 | ShineMS | ShineSource 1.9
Add this to your next revision:
To fix expfix:
in playercommands
Code:
else if (splitted[0].equals("expfix")) {
if (player.getExp() < 0) {
player.levelUp(true);
player.setExp(0);
player.updateSingleStat(MapleStat.EXP, player.getExp());
player.message("You no longer have negative EXP.");
} else {
player.message("You do not have negative EXP.");
}
To fix AutoAssign stats
in net.channel.handler.AutoAssignHandler.java
Code:
chr.updateSingleStat(type, Math.min(newVal, 32767));
if (newVal > 32767) {
return newVal - 32767;
}