PDA

View Full Version : [share] C4toC1


smeli
20.03.2007, 14:09
enjoy the old good buggy C1MOD :)


ALFA4CS RELEASE of this project!!! ALL craching issues solved
UPDATED june 26 2007
working since march 05 2007

do not forget run
1FULL_COMPILE.bat
it will generate aditional 50 MB of files needed for server -
it will create pch files and ai.obj
Check Ai.obj file after compiling by antivirus programs.

AI shared as NASC code ai_script.txt, ai_macro.txt, questdata.txt;
so you can explore and programm this project futher by yourself

use htm'ls and geodata form C4PTS release

check html_n and dat_n folders
dat_n for client
html_n for server

modification log ---
alfa: the first stable release - crash issues solved

alfa2 changes:
fixed npcdatatxt bug
compleded ai_script (still some bugs exist - check "magma_golem" for example)
updated various files as C6 official changes
updated html_n and dat_n folders
npcpos_full - compleded with needle and splinter stakato pos
added Pyromaker's epic armor and epic weapon support

alfa3 changes:
various bugs fixed
skills modded as C5

alfa4 changes:
npc 81+ level bug fixed
added aditinal services
next releases - BETA.x and BETA_FINAL - commin in winter 2008

alfa4CS changes:
Castle Siege release - C4 castle sieges now working
(for npcpos check file "npcpos_siege.txt")
fixed npcdata and skilldata bugs found in alfa4
Attention: in castledata.txt change shutgart castle mercenary mapping to:
residence_guard_mapping = {}
cause of bug, C5 castles not implemented yet



PS. in order to work pet autofood - open compiled ai.obj
find "m_Meal"

and chande code from
fetch_i // m_Meal
push_const 1720
to
fetch_i // m_Meal
push_const 1724

Вложения из исходного сообщения (сами файлы в копии отсутствуют):
C4toC1_html_rp.rar — 1220204 байт
C4_32bit_alfa4CS.part01.rar — 1800000 байт
C4_32bit_alfa4CS.part02.rar — 1800000 байт
C4_32bit_alfa4CS.part03.rar — 1800000 байт
C4_32bit_alfa4CS.part04.rar — 1601950 байт

Koner
20.03.2007, 19:39
enjoy the old good buggy C1MOD :)

edited:
well, castle and doordata are with errors

lol!
my work has already been done :(

in test......

Koner
20.03.2007, 19:49
server crash when loading your scripts. :|

Koner
20.03.2007, 19:58
but anyway thx for share =) great job.

tpuNIsher
20.03.2007, 20:03
lol ya, good ol' memories.

~Marquis~
20.03.2007, 20:07
Rz developed a C1 modded version for C4 ages ago if i'm not mistaken, havent browsed this forum for a while.

Koner
20.03.2007, 20:15
and i now work on castledata/doordata - 55%

mcrabben7
21.03.2007, 04:03
I had a C1 modded C4 lol. Very custom. Was a zzcat's + another DLL for a long time. Later I got rid if them both and ran L2EP Elhaym. Did a great job.

I probably have all my scripts and stuff lying around. Had full doordata, working castledata, and a pretty decent skilldata.

Who knows, maybe I'll dig it all up and share :)

Aikeleer
21.03.2007, 17:25
I had a C1 modded C4 lol. Very custom. Was a zzcat's + another DLL for a long time. Later I got rid if them both and ran L2EP Elhaym. Did a great job.

I probably have all my scripts and stuff lying around. Had full doordata, working castledata, and a pretty decent skilldata.

Who knows, maybe I'll dig it all up and share :)You guys did an aweseome work with making that dll public tbh. L2EP was one of the most contributing projects.

AsterisKSM
24.03.2007, 18:31
updated files: npc data was very badly damaged - REPAIRED
I recomend retailers check this npcdata if they miss something in their retail :)
(checked one of retail releases again - the same damages - a lot of npc missing)

added goodar castle for C1!
....
ok, a lot of updates :)


left npcpos and ai.obj
...maybe in next week

can u release your ai.obj and npcpos?
:D

AsterisKSM
27.03.2007, 15:01
yea.............

smeli
25.04.2007, 12:27
UPDATED one more time

Log

npcdata : almost ideal - finished (rune clan halls, rune castle, stutgart castle npcs added)
itemdata: good - finished
skilldata: playable - finished
areadata, doordata, castledata: playable - finished
all other data - finished
npcpos: no TRBOX, SSQ in separate file - finished

AI: still working... 31%

AsterisKSM
06.05.2007, 22:41
smeli... u still work on it? or you stopped? :(

AsterisKSM
09.05.2007, 19:39
look here please... http://img230.imageshack.us/img230/8922/zeramalefutureavy011ly0.jpg

can u tell me why its loading only this monsters? :(

smeli
10.05.2007, 04:46
try figure yourself:

there 2 npcpos files
npcpos.txt 250 kb
npcposF.txt 4600 kb

first NPC pos loads just talking island, and gludin town
so delete it
and rename npcposF.txt to npcpos.txt

simple?

ok, there also file
npcposSSQ.txt
figure it yourself


PS. project still in work so thre may be bugs especially in AI.obj
so learn how to compile it from updates

AsterisKSM
10.05.2007, 17:03
ok ... i`m sorry for that stupid question...

i saw that in itemdata are some custom items... like titanium... dusk... and some C6 things... if i`m not wrong... can u release the texture for them?

and one more thing... can u release your html..? becouse npc`s doesen`t have anithing when i klick on them... or what html files should i use? becouse its really hard to edit each html... :(

smeli
12.05.2007, 12:13
updated one more time - read first post

PS. use C4 retail html folder

AsterisKSM
12.05.2007, 22:36
the biggest problem now is that the NPC server its crashing after some time...:(

PS. Read your PM please...

AsterisKSM
16.05.2007, 09:08
"some AI crash NPC server, for example "antelope"
i killed some npc`s in Dragon valley and npc server crashed :(

smeli
18.05.2007, 10:35
new update:
major NPC crash issues fixed
most multisells fixed
C5 skills added
C5 items added

PS. use htmls from C4 retail

Talic
19.05.2007, 20:20
lol ya, good ol' memories.

yup.. thanks

smeli
28.05.2007, 14:00
new update, check first post

in future planing to programm THIEVING interface -
servers full of thieves but honest thieving imposible for now

roflwaffles
28.05.2007, 14:44
enjoy the old good buggy C1MOD :)

UPDATED may 28 2007

AI.obj - I will share nasc code too, so you can develop it further
still working on it - NPC classes done, ~60 MOB classes left

do not forget run
1FULL_COMPILE.bat

it will create pch files and ai.obj

check html_n and dat_n folders
dat_n for client
html_n for server


PS. detected some NPC crash issues in AI module
will be fixed in testing stady
Check Ai.obj file after compiling by antivirus programs.
thank you for share :)

smeli
06.06.2007, 09:05
Alfa release 2 of project!
check the first post

beta version (comming 2008 winter) teaser: simple antiwalker system will be implemented

AsterisKSM
06.06.2007, 12:18
in 2008? pffff maibe i die until then...:)) now we are in 2007 summer... X_X

gunesahmet
08.06.2007, 23:41
This poroject is to be taken in l2admintools packages.... It's Dud :D

smeli
09.06.2007, 05:42
>This poroject is to be taken in l2admintools packages.... It's Dud

somebody explain what this man said?

HF
09.06.2007, 05:50
>This poroject is to be taken in l2admintools packages.... It's Dud

somebody explain what this man said?
maybe this? -
He have l2admintools (i dunno what it) and your files will be add to this package later.

smeli
12.06.2007, 07:46
seems nobody using mod
cause ragezone version is better?

ok ok.. :)

AsterisKSM
12.06.2007, 08:04
i use it :)

smeli
12.06.2007, 08:18
really?

ok, then open your "rp_leather.htm" from retail pack
if it use recipe ID is 30 that means htm is bugged

koreans seems detected this bug earlier and "fixed" it by inserting new parameter in itemdata.txt

we cannot use this parameter so we must fix bugs manually in htms or use older "rp_*" htms from ragezone or pp1.0 pack

Dagger
12.06.2007, 13:31
um, i was wondering if someone could say in few words how to start that server cause from what i can see it's diferrent than retail C4 installation

smeli
12.06.2007, 13:41
ok, cashed, logd, authd filed needed for server not included
as not included htmls and geodata


htm'ls must be used from retail pack,
geodata.. yesterday la2merchant shared excelent geodata for C4. it fully fits this server

i think authd from retail fits too, besides already on pp forum shared secured authd version

what about cached and logd
they I think must be taken from C1 server original or from PP1.0 or ragezone packs, or take mine

Plops
17.06.2007, 04:18
hello i setup all ok start without error ...
when try login server status good, but cant go to character screen
=/
anyone know what happen ?
tks =)

phusho
19.06.2007, 11:51
upload patch2.dll pls

phusho
19.06.2007, 12:46
thanks :)
<short post>

amberhand
19.06.2007, 13:03
hmm i got error in residence (btw i don't even got this file :P)

smeli
19.06.2007, 13:09
check castledata_full in script folder

suggestion: check all the files, especialy those with "_full" part :)
because for testing purposes I do not load everything in game
and cannot load everything cause have only 1GB of ram

amberhand
19.06.2007, 13:22
maybe there is an error that castle not owned by anyone "owning_npc_list = {{[Dale];0};{[Patty];0}}" ups its not forgot to check err in l2server folred exe "[ObjectDB.cpp][196] undefined (or unregistered) Name[Emil]"

amberhand
19.06.2007, 15:14
There is error in vehicledata data too, [Vehicle.cpp][1074] Parsing VehicleData file failed,and maybe u can post geodata,thx in advance

smeli
20.06.2007, 04:51
geodata already shared by l2merchant

AsterisKSM
21.06.2007, 11:52
where... can u give a link?

smeli
26.06.2007, 09:13
in PP this geodata was shared

ok, new summer release: Castle Siege edition

PS. no one noticed that CS not worked at all, cha cha cha :)

izze
28.06.2007, 09:10
I'm moving to this one today when i'm comming home seems like a nice project smeli, BTW is it possible to have "hero glow" on hero weps here ? or is it bugged ?. cuz i can't get it to work on my c3 server :(

smeli
28.06.2007, 10:04
found some trouble with clan halls
use this fix wisely cause you maybe will need fix your linworld db agit_ bases manualy

>BTW is it possible to have "hero glow" on hero weps here ? or is it bugged ?.

hero weapon glow working for me

Вложения из исходного сообщения (сами файлы в копии отсутствуют):
castledata.rar — 19770 байт

izze
28.06.2007, 11:24
found some trouble with clan halls
use this fix wisely cause you maybe will need fix your linworld db agit_ bases manualy

>BTW is it possible to have "hero glow" on hero weps here ? or is it bugged ?.

hero weapon glow working for me

Ok that's hot will be using ur server build as soon as i get home from work :P

izze
28.06.2007, 13:53
Nvm fixed it, You have not included, /etc in auth folder.

izze
29.06.2007, 05:27
I have a problem with the teleports and NPC.exe lol

NPC crashes after about 5 min - 10 min "randomly"

And the teleports says i can't teleport because of the landlord lol.

AsterisKSM
01.07.2007, 17:10
it always crashes .... :( the npc crashed in every single release...

smeli
02.07.2007, 05:02
>And the teleports says i can't teleport because of the landlord lol.

this message appears when you have 0 adena,
so you trying teleport for free, cha

NPC server maybe chashes because of certain npcs,
when I will find them I will fix them
or you can fix all by yourself - all troubles in ai_cript.txt and ai_macro.txt
or maybe craches because of your antivirus programs

PS. for me NPC server do not crashing cause I have not enoug memory in my test computer to load all NPCs. and of course disabled antivirus
Asterix, besides with every new release you must run fullcompile.bat again or you just ruding old very unstable ai.obj code

izze
02.07.2007, 06:11
>And the teleports says i can't teleport because of the landlord lol.

this message appears when you have 0 adena,
so you trying teleport for free, cha

NPC server maybe chashes because of certain npcs,
when I will find them I will fix them
or you can fix all by yourself - all troubles in ai_cript.txt and ai_macro.txt
or maybe craches because of your antivirus programs

PS. for me NPC server do not crashing cause I have not enoug memory in my test computer to load all NPCs. and of course disabled antivirus
Asterix, besides with every new release you must run fullcompile.bat again or you just ruding old very unstable ai.obj code

Ok i will look into the ai code, as for antivirus and shitzoors i don't have installed @ server. so that's not a problem for me :P. I will check the teleport bug once again but still i think there is not cuz of adena.

smeli
02.07.2007, 07:01
thank you for bug reporting
soon we start our server and we will see what's going on :)

izze
02.07.2007, 07:33
thank you for bug reporting
soon we start our server and we will see what's going on :)

np ;). I really like ur project :)

smeli
04.07.2007, 04:38
try this:

change all "target_id" in ai_script.txt to "target_index" and recompile

this may stop crashes

izze
04.07.2007, 07:09
Ok i will look into it when i get home from work! :)

AsterisKSM
11.07.2007, 17:36
i always get this error after l2npc.exe starts.... :( that`s strange...http://img62.imageshack.us/img62/3381/98023395pi3.gif

Kenjiro
11.07.2007, 17:58
If you have enable DEP for programs (could be default on all AMD64 and Xeon EM64T) and using l2npc with 'hacks', try to disable DEP for l2npc.exe - i have similar errors with other programs.

AsterisKSM
11.07.2007, 20:47
i tryed... still... the same error debbuger ... :( i read'ed how to stop the DEP in microsoft.com but stillll the same error even if i stop it...

Kenjiro
11.07.2007, 23:05
Second try ;)
Disable Visual Studio debugger... sometimes it catches too many exceptions...

AsterisKSM
13.07.2007, 08:27
i deleted asdebuger from regedit.... and now i get another error... :(
http://img166.imageshack.us/img166/7408/74655201mp8.gif

Kenjiro
13.07.2007, 13:44
This type of 'error' is definitely DEP cause - running code's memory is write protected by default (by DEP), thus patch which inject itself into code will fail.
[WIN]+[PAUSE/BREAK] -> Advanced -> (Performance) Settings -> Data Execution Prevention -> Turn on DEP for all programs .... -> Add l2npc.exe to exception.

Turning DEP off from boot.ini usually do not work on systems using PAE memory mode, because PAE automatically enable DEP (despite disabling DEP) ;).

HF
13.07.2007, 14:23
Disable DEP - open way for trojans.
My server work on Enable DEP without exception. Work perfectly. If DEP show error - this Execution File BAD. It no must be Trojan, but this Exec Code Bad. Way to errors...

Kenjiro
13.07.2007, 14:32
C1 patches (eg. l2extend) was usually done in way not working with DEP.

AsterisKSM
13.07.2007, 19:20
i tryed anything... it doesen`t work... the same errors:(

Kenjiro
13.07.2007, 20:01
What system do you use and on what hardware platform?

AsterisKSM
14.07.2007, 13:11
as u can see in the pictures ... i use windows server 2003 Enterprise Edition...

AsterisKSM
04.08.2007, 14:43
i changed the windows and now i have another error... in other releases i didin`t have errors like this... http://img110.imageshack.us/img110/3299/disturbiaoc3.jpg

smeli
10.08.2007, 06:00
this error about alchemist matild will be fixed in beta release
for now remove alchemist from npcpos