P Server "NPC base code/shops/drop items" for who asked me 2 do it

06/15/2008 01:56 bobtin777#511
hehehehe
06/15/2008 04:15 samehvan#512
Quote:
Originally Posted by YukiXian View Post
samehvan, One last thing... I just downloaded the new Character.cs and the Worldhandler.cs ... But now the Exp rate is lower, Can u also post the older version? ( You had before this new one? )

*Edit* : Or can you tell me how to dubble the EXP Rate? Cuz its not an half slower ...

*Edit* : Please let someone have to older Source with exp !!!
what old one ?
the very old one or the one u said it's bugged :p
and i cant c it is slow , it is very fast lvling as i think

anyhow , w8 my next post i will tell u all how to adjust the Exp rate

Quote:
Originally Posted by adz06676 View Post
Oh i just rememberd do you think you could code the "view equips" button as ya know it doesnt work right now i think it would be a good addition to the servers if you could:p,

Thanks
yes , View Equips/Trade/team/Friend need to have a look , but that needs too much time u know

Quote:
Originally Posted by NoFusion View Post
i been working on the portal n i ran into this 1 problem... everything is easy. but In WonderLand (pc cave) i cant portal back to MapleForest (pc map)... same thing happen to newdesert (dc 2nd map) cant portal bck to DCmap.... i try to find out wat it is but i counldnt...

About This Code: all portal in pc work even 2nd map But...
...The Red part dont work... (portal from pc cave to pc map)



any help?
put the reded part be4 ur last else , coz the code like that will teleport u to TC what ever u dd after that last else

Quote:
Originally Posted by SweeTFlower View Post
k everyone needs to back off a little if none of you have read he hasn't slept in 2 days. everyone is on his ass for coding and no one is thinking about him. BACK OFF let him rest, none of you will get the god damn source coded if he gets sick. will that sink in? please let the poor guy rest give him a day or 3 to rest up some will ya?
Thank u ,i appreciate ur view ,
3 days huh , not on my dreams lol
06/15/2008 04:18 bobtin777#513
The New updates :-

Done:-
*
-The Hair code (that u can dialog the Barber)
-Lvling Experience
-Moneybags use/Pots effect directly show up
-Socketing at Phoenix castle
-Req=lvl edited to have "<"/">"/"=" so u can make the mini/max or exact lvl (u will need it for quests)
-The Double Magic skills hits fixed
-rew=lvl effect fixed
-Saving Profs
*
Working on :-Reborn/Second Reborn

Thank you that would be cool but you need some SLEEP you know what that is right lol jk
06/15/2008 04:26 SweeTFlower#514
Quote:
Originally Posted by samehvan View Post

Thank u ,i appreciate ur view ,
3 days huh , not on my dreams lol
:D anytime :p. hey why not take some rest pff your not sleeping :o not good:(
06/15/2008 05:08 samehvan#515
Quote:
Originally Posted by bobtin777 View Post
The New updates :-
Thank you that would be cool but you need some SLEEP you know what that is right lol jk
Quote:
Originally Posted by SweeTFlower View Post
:D anytime :p. hey why not take some rest pff your not sleeping :o not good:(
i hope it is that simple , i slept for a while tho , thank you
*
*
now for who want to forbid the PK at Ma and Lotto , follow this

-open source\PacketHandler.cs
-add this code line 192

Code:
case 1022: //Attack
                    {
                        int kind = (Data[23] << 24) + (Data[22] << 16) + (Data[21] << 8) + (Data[20]);
                        //Console.WriteLine("Packet - Attack request {0}     {1}", PacketId, kind);
                        [COLOR="Blue"]if (AClient.MyChar.PosMap == 1036 || AClient.MyChar.PosMap == 700)
                        {
                            AClient.SendPacket(ThePackets.SendMsg(AClient.MessageId, "SYSTEM", AClient.MyChar.CharName, "This Map is protected .", 2015));
                            break;
                        }
                        else [/COLOR]
                        Msg = new Attack(Data,AClient);
                        break;
                    }
the blue lines are the adds

for the Exp rate , there are 3 edits needed ,
1- worldhandler.cs line 129
Charr.MyClient.MyChar.AddExp(DMG*TheMob.Level/15);

2-Character.cs line 1036
MyClient.MyChar.AddExp(AttackDMG *Target.Level/22);

3- Character.cs line 1134
MyClient.MyChar.AddExp(AttackDMG *Target.Level/22);

edit the red color numbers
06/15/2008 05:18 GRASSHOPPA#516
is there a way to reformat a notepad doc back into a cs doc?
i kinda opened the login.cs with notepad and it screwed with all the rest of my docs and honestly am not sure at all wat to do =/...
thanks whoever knows the answer =(
06/15/2008 05:32 Bloodsoul#517
Quote:
Originally Posted by GRASSHOPPA View Post
is there a way to reformat a notepad doc back into a cs doc?
i kinda opened the login.cs with notepad and it screwed with all the rest of my docs and honestly am not sure at all wat to do =/...
thanks whoever knows the answer =(
try saving it as "login.cs" with notepad then it should work fine
if not heres mine.
06/15/2008 05:37 jamized#518
Hey ya like im kinda new to this im just makin a lil server for my friends and i to play during the summer but i just need some help with the barber and is there coding for pheonix and rage yet.
06/15/2008 06:24 GRASSHOPPA#519
i tink i figured it out ty blood kinda gave me an idea =P

*EDIT
y is it that when i change the text in the Login.cs and i try to loggin it shows the skin and the Logging into server thing...am i makeing a small typo or wats going on?
06/15/2008 07:08 zane203#520
I kinda just relized it says its able to program a NPC to do hair now O_o does anyone knows how?

@Grasshoppa
um... if you opened it with notepad, it shouldnt of changed the format, just what to run it with. The only way to change the format is if you went "Save as" "save as .txt"

@jamized
no there are no skill for rage and nix yet =Þ give it some time.
06/15/2008 07:36 samehvan#521
Quote:
Originally Posted by zane203 View Post
I kinda just relized it says its able to program a NPC to do hair now O_o does anyone knows how?

@Grasshoppa
um... if you opened it with notepad, it shouldnt of changed the format, just what to run it with. The only way to change the format is if you went "Save as" "save as .txt"

@jamized
no there are no skill for rage and nix yet =Þ give it some time.
rew=hair,<Val>
06/15/2008 07:51 tjhancock101#522
i did this for my self, but i made a thing of al the help ful posts in this entire thread, yes ll 53 oage sui went trhu at 1 am, ill give '2 request, tells everythin gu need......
06/15/2008 09:53 YukiXian#523
Quote:
the blue lines are the adds

for the Exp rate , there are 3 edits needed ,
1- worldhandler.cs line 129
Charr.MyClient.MyChar.AddExp(DMG*TheMob.Level/15);

2-Character.cs line 1036
MyClient.MyChar.AddExp(AttackDMG *Target.Level/22);

3- Character.cs line 1134
MyClient.MyChar.AddExp(AttackDMG *Target.Level/22);

edit the red color numbers
Than i should make them less or more??? :confused:
06/15/2008 12:27 samehvan#524
Quote:
Originally Posted by YukiXian View Post
Than i should make them less or more??? :confused:
huh , it is dividing bro , so if u want high Exp per hit then reduce the numbers if u want it slow lvling then high them
06/15/2008 13:45 tony_987#525
Quote:
Originally Posted by samehvan View Post
huh , it is dividing bro , so if u want high Exp per hit then reduce the numbers if u want it slow lvling then high them
what do i do if i only want:eksample hawking to give more exp?