Jump to content

32Bit C1 Server


smeli

Recommended Posts

Baium teleporter with Blooded Fabric:

Open ai.obj and find this line:

class ai_boss06_teleporter : default_npc

two lines more down change this:

int item_required 3469

for

int item_required 4295

save.

Link to comment
Share on other sites

1 hour ago, steve said:

You want remove, when you hit any gatekeeper, html open and gk says, stop attack go jail bla bla and have chance to teleport to that "sucks" jail?

I found this:

Go to ai.obj and search this line: class teleporter : default_npc

then, remove the "handler 1    //  ATTACKED" full

This:


handler 1	//  ATTACKED
	variable_begin
		"attacker"
		"damage"
		"skill_name_id"
		"i0"
		"i1"
		"c1"
		"myself"
		"_choiceN"
		"_code"
		"_from_choice"
	variable_end

	push_event	//  myself
	push_const 28
	add
	fetch_i	//  i_ai0
	push_const 2336
	add
	push_reg_sp
	fetch_i
	push_event	//  myself
	push_const 28
	add
	fetch_i	//  i_ai0
	push_const 2336
	add
	fetch_i
	push_const 1
	add
	assign
	shift_sp -1
	push_event	//  myself
	push_const 28
	add
	fetch_i	//  i_ai1
	push_const 2340
	add
	fetch_i
	push_const 0
	equal
	branch_false L3588
L3587
	shift_sp 1
	push_const 11012
	push_parameter delaytime
	func_call 28	//  func[AddTimerEx]
	shift_sp -2
	shift_sp -1
L3588
	push_event	//  myself
	push_const 28
	add
	fetch_i	//  i_ai1
	push_const 2340
	add
	push_reg_sp
	fetch_i
	push_const 1
	assign
	shift_sp -1
	push_event	//  myself
	push_const 28
	add
	fetch_i	//  i_ai0
	push_const 2336
	add
	fetch_i
	push_const 10
	greater
	branch_false L3590
L3589
	push_event	//  myself
	push_const 28
	add
	fetch_i	//  i_ai0
	push_const 2336
	add
	push_reg_sp
	fetch_i
	push_const 0
	assign
	shift_sp -1
	shift_sp 1
	push_event	//  attacker
	push_const 36
	add
	fetch_i
	push_const 115016
	negate
	push_const 179224
	negate
	push_const 6752
	negate
	func_call 46	//  func[InstantTeleport]
	shift_sp -4
	shift_sp -1
	jump L3591
L3590
	push_event	//  c1
	push_const 276
	add
	push_reg_sp
	fetch_i
	push_event	//  attacker
	push_const 36
	add
	fetch_i
	assign
	shift_sp -1
	shift_sp 1
	push_event	//  c1
	push_const 276
	add
	fetch_i
	push_const 1926
	func_call 44	//  func[ShowSystemMessage]
	shift_sp -2
	shift_sp -1
L3591
handler_end

Save and check it :)

Keep it simple. Just edit ai_script.txt and compile again the ai.obj 

Link to comment
Share on other sites

14 minutes ago, MimisK said:

Keep it simple. Just edit ai_script.txt and compile again the ai.obj 

yes, but the owned of this pack only said: core edit and why u need delete this, girls must be protected, bla bla etc etc

Some ppl wanna remove that "stupid" feature.

here its the solution :)

Link to comment
Share on other sites

9 minutes ago, steve said:

yes, but the owned of this pack only said: core edit and why u need delete this, girls must be protected, bla bla etc etc

Some ppl wanna remove that "stupid" feature.

here its the solution :)

Tha i say and me.... ai_script = ai.obj decompiled. Is more easy to edit the ai_script from ai.obj. 

Ps. I didnt like the "stupid". Just remove it. Smeli has made too many work and share it to all for free. And gives the sources files.I have remove many things

Link to comment
Share on other sites

14 hours ago, Natzugen said:

Using C2 Client + Patch your patch for c2. Installed all updates from topic.

Issue: I can connect to the server. But after connecting to character lobby it says Protocol version is different. Please continue. 

Screenshot_2.png.dd6b5449cb1b52caabf073ba878891b0.png

I've got exactly the same problem.

Link to comment
Share on other sites

On 9/17/2017 at 1:39 PM, steve said:

Hey guys, maybe u can help me.

 

Where i can edit locations of offline shop allowed? i dont found any location in Areadata.txt, maybe ai.obj?

 

extender source

 

        int tradetype = trade_zone_check_e(CSharedDat->x, CSharedDat->y); //check allowed trade zones

 

 

>>>Issue: I can connect to the server. But after connecting to character lobby it says Protocol version is different. Please continue. 

 

this server supports all clients, and all client have different protocols. for example:

478, 485 - c2

530,555,560 c3

732,737,740,744,746 interlude

12 gracia

530 (again) Lindvior

109 grand crusade

and so on..............

 

to support them - server must accept all those clients

you can just ignore this message

 

--

also if you have 100+ clients you never know which client you're using

message on server shows at least protocol of your client

 

 

 

 

 

 

 

 

 

 

 

 

 

Edited by smeli
Link to comment
Share on other sites

13 minutes ago, SevenGuards said:

 

Nice, btw why you not use some sort of repository like bitbucket instead of uploading files for each update? :)

 

good idea, but i still trying to leave l2, hope this will be last update from me

Link to comment
Share on other sites

  • 1 month later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now



×
×
  • Create New...