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

07/10/2008 16:56 zane203#1711
Quote:
Originally Posted by Dgen View Post
Am i the only one that the /skill command doesn't work? And i still didn't solve my problem, look some posts higer.
/skill fb
/skill ss
/skill thunder
/skill tornado
/skill herc
/skill fire

those are the only ones i know of for the time being. Other than that, the others are not yet coded into the source.

Quote:
Originally Posted by Dgen View Post
Ok server is working thx to you! :D. But i have a question, do you have a file that has Trojan star Archer god and all of those gods in. So i can learn skills... And that has the guy for reborn in. Thank you!
That refers to npcdialog file. Open it in notepad and find the npc id and edit it how ever you see fit. My server wont be using them that way so I wont be coding it that way unless i have a lot of time and just feel like doing it for the public =3 sowwy
07/10/2008 17:01 zane203#1712
Quote:
Originally Posted by plasken View Post
Can anyone explain me how to rebuild? causse i cant click to rebuild it! (for using on vista)

Thnx in advance!
Grtz
sorry for double post:

Im not a vista user man, extremely sorry, im thinking that if you have a vista now, you should have an old XP somewhere xD. Might want to set that back up, and i rly dont know why it dosnt work for vista, i mean if i had one i'd probably try to find out why... but i dont have one so i cant sorry =/
07/10/2008 17:02 adz06676#1713
Quote:
Originally Posted by samehvan View Post
u dont need to do anything or anyone to do it for u , it is already there
if (TheClient.Online)



the INI files is so much useful on that source coz u have to consider that we use Personal Computers that we will need every byte on the Ram so using INI that doesnt need Rams and u only use it's contents when needed is the best solution to do as i think that is why i depended on them




dld the source file on the first page , it contains the Drops (item/silver/Gold/GoldBar/Bold bullions) and pick them up
i dd it as a base system as usual so u will find a file named DropRate.ini on the bindebug folder i just put the TC map so u will need to add the Maps and the items will drop there like that
MapID=item1ID-item2ID-item3ID-.........-itemNID
notice that u put the lowest ID means the normal ID then the prog will calculate the chances of Quality ,Pluss and socs (very high chances BTW u can edit them as u wish)



we all use the Qonquer Client as i think
I ment making an item show when u go off the screen and come back, i'll download ur source and see if its any different.
07/10/2008 17:02 Dgen#1714
I don't know how to edit the one for rb since i can't even find him in the agme to get his ID. Help?
07/10/2008 17:04 mindula#1715
How to add a 2nd text in NPC?

Quote:
[10022]
face=4
txt0=A que quieres promover?
opt0=Troyano-Troyano Veterano-Troyano Tigre-Troyano Santo-Troyano Master-Recoger Premio-Habilidades-Nada
req=lvl,>15-lvl,>40-lvl,>70-lvl,>100-lvl,>110-lvl,>110
rew=job,11-job,12-job,13-job,14-job,15-lvl,111
txt1= How to add a secund text??
07/10/2008 17:05 zane203#1716
Ah xD, use a different NPC for the time being then =/, really cant help if my server is being transported lol =3.

at any rate, RB is nothing compared to what a GM can do =p xD so if you're a GM then theres really nothing different besides the 2nd rb visual affect xD.
07/10/2008 17:11 adz06676#1717
Anyway i give up on seeing drops and money after going off screen and back, they have the gold id look but if u pick it up its the item before someone else is gonna have 2 fix it.
07/10/2008 17:21 zane203#1718
Quote:
Originally Posted by mindula View Post
How to add a 2nd text in NPC?
Yours:

[10022]
face=4
txt0=A que quieres promover?
opt0=Troyano-Troyano Veterano-Troyano Tigre-Troyano Santo-Troyano Master-Recoger Premio-Habilidades-Nada
req=lvl,>15-lvl,>40-lvl,>70-lvl,>100-lvl,>110-lvl,>110
rew=job,11-job,12-job,13-job,14-job,15-lvl,111
txt1= How to add a secund text??

Mine:

[10022]
face=4
txt0=A que quieres promover?
txt1=blah blah blah
opt0=Troyano-Troyano Veterano-Troyano Tigre-Troyano Santo-Troyano Master-Recoger Premio-Habilidades-Nada
opt1=ok
req=lvl,>15-lvl,>40-lvl,>70-lvl,>100-lvl,>110-lvl,>110
rew=job,11-job,12-job,13-job,14-job,15-lvl,111

every txt needs to have an opt case closed.
07/10/2008 17:21 plasken#1719
Quote:
Originally Posted by zane203 View Post
sorry for double post:

Im not a vista user man, extremely sorry, im thinking that if you have a vista now, you should have an old XP somewhere xD. Might want to set that back up, and i rly dont know why it dosnt work for vista, i mean if i had one i'd probably try to find out why... but i dont have one so i cant sorry =/
Nope no old xp version only vista ;-) To use vista you need to use a c-editor and rebuild it like the tutorial said! but the button to rebuild it cant be clicked!
07/10/2008 17:25 zane203#1720
Quote:
Originally Posted by plasken View Post
Nope no old xp versione only vista ;-) To use vista you need to use a c-editor and rebuild it like the tutorial said! but the button the rebuild it cant be clicked!
rofl, thats kinda f^, but couldnt you just edit the c-editor program? i mean some progs can be opened with C++ 2008 C# 2008 VB 2008 and that other one xD.
07/10/2008 17:27 plasken#1721
Quote:
Originally Posted by zane203 View Post
rofl, thats kinda f^, but couldnt you just edit the c-editor program? i mean some progs can be opened with C++ 2008 C# 2008 VB 2008 and that other one xD.
thats what i did :p im using MVB2008 expres edition! But cant build it! if you get what i mean! ;-)
07/10/2008 17:29 Some-Guy#1722
Quote:
Originally Posted by mindula View Post
How to protect de pk in botjail??? Sorry for the spam...

At the moment the attachment disables pk in TC, in order to change the map search for
Code:
else if (TheChar.PosMap != 1002)
and change the number (1002) to the map ID you wish disabled, you can add more to this by changing it to something like
Code:
else if (TheChar.PosMap != 1002 && TheChar.PosMap != 1003 TheChar.PosMap != 1004)
a little long but it should work.

That works for everything but attack type 21, in other words ss, fb etc are still useable, if you were to disable this for a map you would also not be able to kill monsters on that map, if you want to do that modify the following
Code:
else if (AttackType == 21)
changing it to
Code:
else if (AttackType == 21 && TheChar.PosMap != 1002)
replacing the map id as you want.

EDIT: Fixed attachment, it goes in the ClientRequests file in the source folder obviously AFTER extracting...just in case some people are more than a little dense.
07/10/2008 17:53 zane203#1723
Thanks some-guy, this will help many towards the end... or the beginning... it'll help lol.
07/10/2008 18:22 ammunation#1724
im still having npc problem they dissapear, and if i rescroll to the same city they come back for a few seconds, i dont get the error you mentioned and all i did was make my char a gm nothing changed in my files as of yet
07/10/2008 18:26 keving#1725
Is there anyway to find out wich player killed wich kos i wanna make System message like real conquer "xxx captured yyy and sent him/her into the Jail." its easy but i need killer and killed names pls help Coder team :)