Project Samehvan 2.0

05/10/2009 12:56 ShockSoft#1
This source was created by "Hadeset"
This thread was Created becouse the old one was too big!
--------------------------------------
Problems Or Questions?
MSN; [Only registered and activated users can see links. Click Here To Register...]

Members of this Project:

Samehvan - Leader
ShockSoft - Coder

And much credits to the "old" members of the team!
Without you this source wouldnt be that advanced
--------------------------------------
WE STILL NEED SOME SCRIPTERS! and Coders!
--------------------------------------
The sourcecode changed nearly 100%
So we will call it self-made after bugfixes and code optimizing !
--------------------------------------
Next Update Will be a patch to update
this source to 5017 now it runs on
Qonquer 1.0 Client.
--------------------------------------
LOG:

Code:
05/05/2009 V 2.0
Stamina 100% working
Skill books 100% working
Job Center
2nd reborn chars can cast pray (lucky time)
Guilds options
Mobspawns fixed
NPC Spawns Fixed
Dialoges added
Guards now attack
Warehouse works 50%
Drops working
PVP Working 
LVL Working
Socketer Working
Enchant Working
METEOR UPGRADE WORKING
DB LVL WORKING
QUESTS ADDED

and all i ask ppl is reading all posts be4 asking new question that may be answered ,so the thread keeps organize and helpfull

Now about adding things by ur self
Code:
Adding Mobs :-
-Goto Source\bin\debug or Compiled\debug
-Open the mobs.txt file
-choose the mob name
-r8 down it's ID ,
-Open the Mobspawns.txt file
-Add the next number to the last line ,, means if the file ends with
4 3 430 381 431 382 1002 1
Then ur first number will be 5
Then add the code in that order
Id MobID x1 y1 x2 y2 MapID Number_of_mobs
Whill MobID is the number u wrote down from the Mobs.txt file
-x1,y1 are the first spawning point coordinates
-x2,y2 are the last spawning point coordinates
-MapID is the map where the mobs will spawn (u can find them at the Maps.txt file)
-Number of Mobs how many monsters will spawn in this square
Code:
Adding or removing NPCs:-
*Open the NPCs.txt file it sat on that order
Id1 Id2 X Y Type Dir Flags Map
-Id1 is the Npc_spawnID u wont need it coz u wont c it :P
-Id2 is the main NPC_ID and it is the one u will always need
-x,y is the position it will stand at
-type is the NPC type (warehouse/shopkeeper/blacksmith….etc)
-Dir is the Direction it will take for the first look
-Flags u wont use it either
-Map is the map ID (where the NPC spawn)

To remove one u just need to delete it is line (don’t leave spaces between lines)

To Add one u will need to know all the above NPC data, then r8 them down to the NPCs.txt file

Adding a NPC dialog:-
First u need to get the NPC id , u can do it by pressing the NPC u want to talk then check on the console screen (the black screen pops behind the Server Program), u will c a line saye "NPC_ID <Number> that number is the NPC ID
-Go to Debug\NPCsStuf\Dialog.ini
-Open the INI file
-Start a dialog section by putting the NPC_ID between the symbols "[" "]" , just like that [NPC_ID]
-face=<number> ------firt line is the face (the NPC avatar)
-txt0=<txt> ---- the txt will NPC say when it is been clicked
-opt0=<option1-option2-option_N> -- this are the options the player choose from ,must separated by "-" sympol and the last option must be the end dialog option
-req=<requirements>  the requirements for each option separated by "-" and the requirement it self separated by "," ,, u only have 3 requirements to choose from so far (minimum level-gold-CPs) and u choose one for every option means if u teleporting the player that needs 100 Sliver then " req=gold,100" or u wanna make a quest for players above lvl 50 then "req=lvl,50" and so on
-rew=<rewards> - that is the rewards u will give to the player when he clicked an option and u have 5 things to choose from here (gold,Val/CPs,val/lvl,val/teleport,Map_ID,PosX,PosY/item,iteminfo,Number)
For the item as a reward u have to put the info in that order(item_ID,pluss,bless,enchanted,soc1,soc2,Numb er of items <--- "new")
Code:
/scroll (place) ----> to teleport to another map (tc/pc/dc/mc/ma/am/arena/jail/bi)
/lvl value --> to level up
/hp --->to fill ur HP
/vit number --> to changae ur vitality
/skill skillname to learn new skill
/item itemname quality plus bless enchanted socket1 socket2
/job value to change ur class Trojan 10-15/warrior 20-25/archer 40-45
/prof value to improve ur weapon proficiencyAnhang 13990
DOWNLOAD V2.0
[Only registered and activated users can see links. Click Here To Register...]

Some Uploads Arrived here check em out!
05/10/2009 13:12 ShockSoft#2
Everyone is allowed to contribute Files codes or scripts.

If u release a File please give us some infos about it
Use this form:

Code:
Version:
Name:
Type:
Info:
HTML Code:
[B]ex[/B].
Code:
Version: 2.0
Name: ShockQuestPack
Type: Script,Textfile
Info: Adds DIS City and Custom Survival quests
Hint:


Code:
Type:--> Script, Code, Edit, 
Script = U dont have to Compile it it doesnt touch the source. eg. Dialoges
Code = U have to add it to The source (C# compieler needed) eg. New functions like spells
Edit = Client edit or server side edit to make something look different
Thanks.

I Uploaded some files for ya!
U can use them if u want the members of the old project created them all credits are to the creators !

I will release v 2.1 in 1 hour

Here is a little tool which can free up your memory and optimize your server!
It optimizes 50 Processes in 4 seconds. U have to use this if u wanna run a smooth server :D

KGB Archiver ( compresses 3 GB to 10 MB ) Ultra High Level Compression!

And all Files u need :P

[Only registered and activated users can see links. Click Here To Register...]
05/10/2009 13:59 Kiyono#3
Hadeset not Headset
05/10/2009 14:04 suboy#4
a lil miss spelled lol
05/10/2009 14:07 ShockSoft#5
Thanks i corrected it :P
05/10/2009 14:27 BrokeN^WinG#6
lol chars not save
05/10/2009 14:29 damianpesta#7
Quote:
Originally Posted by BrokeN^WinG View Post
lol chars not save
Works fine for me and others, y does only egypt people always have problem with saving...?
05/10/2009 14:32 BrokeN^WinG#8
Quote:
Originally Posted by damianpesta View Post
Works fine for me and others, y does only egypt people always have problem with saving...?
no u just fuckin idiot guy stop flame ppl cuz u are not egyption
05/10/2009 14:32 ShockSoft#9
Quote:
Originally Posted by damianpesta View Post
Works fine for me and others, y does only egypt people always have problem with saving...?
LOL :p
Works for me too ...
05/10/2009 14:51 BrokeN^WinG#10
i know now why account didnt save cuz i was make flags 8

and when i back it to 0 is save but that mean i can`t make gm account right
05/10/2009 14:59 ShockSoft#11
Right gm accounts will reset for secure in further updates we will change commands to weird commands so if someone ""Hack" a gm account the wont be able to get power :P
05/10/2009 15:03 BrokeN^WinG#12
okay ty when u will release v 2.1
05/10/2009 15:29 plasma-hand#13
Im just wondering why you didn`t update the most recent version that had several more features
05/10/2009 15:30 damianpesta#14
Quote:
Originally Posted by BrokeN^WinG View Post
no u just fuckin idiot guy stop flame ppl cuz u are not egyption
I have never flamed u , I have stated that it works for me.And I also asked the question. Im not offending egypt now am I?
05/10/2009 15:32 BrokeN^WinG#15
Quote:
Originally Posted by damianpesta View Post
I have never flamed u , I have stated that it works for me.And I also asked the question. Im not offending egypt now am I?
no but my problem cuz i made flags 8 and i didnt know that

thats all