no not really i beleave there are blocks to keep items from getting +12 if so find max + part of it and edit it
but i may be wrong and i no i am not putting much detail.
This might be a stupid question, but do I need to compile the NPC Scripts somewhere, or I just copy the file, change name and then code in it, so it's like LUA?
Thanks.
The script engine is compiled with the project. NPC scripting is processed in process.vb in the script folder.
I would like to know all the commands like (@tournament create etc there might be many so i would like to know those) and the cap fix thing :P (thank you this community is the best) (anyway what was changed in the database from the Guide coz Hybrid acc wasnt in it)(and what i ment was i want when others make a command like @item Kingofsword 12 7 255.. they should get a +9 but when i make the command i should get a +12)
I would like to know all the commands like (@tournament create etc there might be many so i would like to know those) and the cap fix thing :P (thank you this community is the best)
Just search. Edit > Find.
Type in the command.
Remember to take "Entire Solution".
hay i found a bug, when you login around monsters the monsters attack you when there are a big distantness between you and the monsters its like they thank you are somewhere that you are not just letting you all no
Have those thingies fixed in ur Source from the guide ? (And sorry dumb question how to remove Hybrid from nobility :P)(and How to make only GMs items +12 others +9) Plz answer fast :P(And how to make @ninjahax work and add [GM] in my name)(and forbid them from getting -7 tower and fan should be -1 only)(and how did they add shields on taoists)(and most of the npcs are stuck but coded in am i right)
public string ToString(LoginRequest Request)
{
msvcrt.msvcrt.srand(this.GeneratedSeed);
var rc5Key = new byte[0x10];
for (int i = 0; i < 0x10; i++)
rc5Key[i] = (byte)msvcrt.msvcrt.rand();
string Password1 = Encoding.ASCII.GetString(Request.Packet, 132, 16).Trim((char)0x0000);
this.EncryptedPassword = new byte[16];
Buffer.BlockCopy(Request.Packet, 132, this.EncryptedPassword, 0, 16);
return Encoding.ASCII.GetString(
(new ConquerPasswordCryptpographer(Request.Account).Decrypt(
(new RC5(rc5Key)).Decrypt(this.EncryptedPassword))));
}
Kinshi:
Code:
public String DecryptPassword(UInt32 key, String account, Byte[] packet)
{
Native.srand((int)key);
var rc5Key = new byte[0x10];
for (int i = 0; i < 0x10; i++)
rc5Key[i] = (byte)Native.rand();
Byte[] originalPassword = new byte[16];
Buffer.BlockCopy(packet, 132, originalPassword, 0, 16);
return Encoding.ASCII.GetString(
(new ConquerPasswordCryptpographer(account).Decrypt(
(new RC5(rc5Key)).Decrypt(originalPassword))));
}
What I got after trying to convert their decrypting code:
public string DecryptPassword(LoginPacket Request)
{
MSVCRT.srand(Seed);
var rc5Key = new byte[0x10];
for (int i = 0; i < 0x10; i++)
rc5Key[i] = (byte)MSVCRT.rand();
byte[] EncryptedPassword = new byte[16];
[b]Can't seem to find an equivalent for this in the source[/b] Buffer.BlockCopy(Request.Packet, 132, EncryptedPassword, 0, 16);
return Encoding.ASCII.GetString(
(new ConquerPasswordCryptpographer(Request.User).Decrypt(
(new RC5(rc5Key)).Decrypt(EncryptedPassword))));
}
So can I get some help with the password decrypting code?
Have those thingies fixed in ur Source from the guide ? (And sorry dumb question how to remove Hybrid from nobility :P)(and How to make only GMs items +12 others +9) Plz answer fast :P(And how to make @ninjahax work and add [GM] in my name)(and forbid them from getting -7 tower and fan should be -1 only)(and how did they add shields on taoists)(and most of the npcs are stuck but coded in am i right)
To slappy89
Code:
ya it fixed the monster problem kinda the monsters wont attack you tell you move but they are not attacking from distance :)
removing hybird from nobility there is a file in the database that has all the data for nobility btw you have to have at list 1 person in nobility or it will bug up and make errors (you may beable to put something like null=0).
why would you want to give GMs so much power they are there to help the server doing that will just make the players fell under powered and quit. if i was you i would stick with max + being 9 for everyone (but if you really want to find the part of the source that sets the max + being 9 and add something like
[code]
if(Clint.isGm)
{
max+=12
}
else
max+=9
thats just an example.)
for the tower thing find where you add - stuff to items and add a check that says something like
ya it fixed the monster problem kinda the monsters wont attack you tell you move but they are not attacking from distance :)
removing hybird from nobility there is a file in the database that has all the data for nobility btw you have to have at list 1 person in nobility or it will bug up and make errors (you may beable to put something like null=0).
why would you want to give GMs so much power they are there to help the server doing that will just make the players fell under powered and quit. if i was you i would stick with max + being 9 for everyone (but if you really want to find the part of the source that sets the max + being 9 and add something like
[code]
if(Clint.isGm)
{
max+=12
}
else
max+=9
thats just an example.)
for the tower thing find where you add - stuff to items and add a check that says something like
and i had a shields on my tao because i set it a war with commands and then i put a shields on him xD
[/code]
All of this solves my problems but i dont know where to add the first code about +12 items for Gms only and whats the file that contains all the data about the nobility ?And can i make myself something like earl ?
[Formal subject]tell us about ur problem then u will get the answer 08/18/2009 - CO2 Private Server - 11 Replies tell us about ur problem then u will get the answer
just for binary any patch u like :cool:
for moderators : Dont close this therad its helpful alot of pplz here
WTS Lv92 AK With 375m Worth of Items and Formal Costume (Abbadon) 02/27/2009 - Trading - 3 Replies Up for Trade is a Lv92 AK Axe Hybrid named RurouniKenshin on abbadon Server in 2moons.
Knights Formal Suite Costume = $11.40 Real Money
Quesa Helm +4 4x25 Meds = 8-10m
Quesa Armor +5 4x25 Meds = 20m
T3 Gloves +4 = 30m
T3 Pants +4 = 30m
T3 Boots +5 =45m
+4 85 Axe 3x56 Rhombs = 10m
+4 87 Shield 3x25 Meds = 6m