Please enable / Bitte aktiviere JavaScript!
Veuillez activer / Por favor activa el Javascript![ ? ]
[Share] Myext64 - My New Opensource Gracia Final/epilogue Extender - Page 18 - Server Shares & Files [L2OFF] - MaxCheaters.com - Page 18

Jump to content

Welcome to MaxCheaters.com
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. If you already have an account, login here - otherwise create an account for free today!

Announcements!

Dont forget to follow the rules and staffer rules

Check Our Daily News and Updates ,Like Us @ Facebook

Advertising information here

New forum upgrade coming soon


Photo

Myext64 - My New Opensource Gracia Final/epilogue Extender



  • Please log in to reply

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users


266 replies to this topic

#256
AlmostGood

AlmostGood
    • Level 48 Cheater
    • Members
    Posts:
    853
    Reputation:
    0
    Member:
    98999
    Joined:
    08-August 11
  • Current Mood:
    Emotions'
  • Gender:
    Not Telling
  • Country:
    Country Flag
  • User's Feedbacks

  • N/A 0 0 0

you need to send custom packet, so no better way than using 3rd soft or own hook of say2



#257
eressea

eressea
    • Level 21 Cheater
    • VIP Member
    Posts:
    300
    Reputation:
    5
    Member:
    134050
    Joined:
    07-October 13
  • Current Mood:
    Emotions'
  • Gender:
    Female
  • Country:
    Country Flag
  • User's Feedbacks

  • N/A 0 0 0

I have an idea - prepare everything to send the message as normally from client and just before sending it cancel friendship on second window


Emca
 
--
 
They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety -- Benjamin Franklin

Do unto others as they do unto you -- Anton Szandor LaVey

 

L2 Shrine - Gracia Final 4x l2off retail NO DONATE - https://l2shrine.com/


#258
smeli

smeli
    • Level 30 Cheater
    • Members
    Posts:
    483
    Reputation:
    1
    Member:
    21800
    Joined:
    04-June 08
  • Gender:
    Not Telling
  • User's Feedbacks

  • N/A 0 0 0

in gf i think is function to chechk friends. as i know in c4 such function exists

in c1 this function not exist

so i am checking by sending friend request before, if friend already - server sends message about "fiends already"

if so - friend say allowed. if no such message - cheater detected :) no friend say message sended, cheating logged


Edited by smeli, 13 July 2017 - 06:49 PM.


#259
lin2diy

lin2diy
    • Level 2 Cheater
    • Members
    Posts:
    14
    Reputation:
    0
    Member:
    201884
    Joined:
    23-January 17
  • Gender:
    Not Telling
  • Country:
    Country Flag
  • User's Feedbacks

  • N/A 0 0 0

nice work~~~



#260
L2Homage

L2Homage
    • Level 2 Cheater
    • Members
    Posts:
    11
    Reputation:
    0
    Member:
    208311
    Joined:
    01-June 17
  • Gender:
    Male
  • Country:
    Country Flag
  • User's Feedbacks

  • N/A 0 0 0

Do you have a way of automating the creation of classes.txt file for split AI? Or do you just add all file names and rearrange them by hand?



#261
eressea

eressea
    • Level 21 Cheater
    • VIP Member
    Posts:
    300
    Reputation:
    5
    Member:
    134050
    Joined:
    07-October 13
  • Current Mood:
    Emotions'
  • Gender:
    Female
  • Country:
    Country Flag
  • User's Feedbacks

  • N/A 0 0 0

Do you have a way of automating the creation of classes.txt file for split AI? Or do you just add all file names and rearrange them by hand?

 

I have a python script that joins nasc files into one big nasc file, runs compiler on it and then splits it again to individual classes and generates classes.txt file

 

Please Login or Register to see this Hidden Content


Edited by eressea, 27 July 2017 - 09:31 AM.

Emca
 
--
 
They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety -- Benjamin Franklin

Do unto others as they do unto you -- Anton Szandor LaVey

 

L2 Shrine - Gracia Final 4x l2off retail NO DONATE - https://l2shrine.com/


#262
L2Homage

L2Homage
    • Level 2 Cheater
    • Members
    Posts:
    11
    Reputation:
    0
    Member:
    208311
    Joined:
    01-June 17
  • Gender:
    Male
  • Country:
    Country Flag
  • User's Feedbacks

  • N/A 0 0 0

I have a python script that joins nasc files into one big nasc file, runs compiler on it and then splits it again to individual classes and generates classes.txt file

 

Please Login or Register to see this Hidden Content

 

Thank you, I'm really curious about customizing the nasc files. I'm still quite confused on how the whole AI.obj/nasc thing works. Where do the nasc files come from? When I split my ai.obj, I get a bunch of txt files in one folder.

Looking through your uploaded example, you've got all the files as nasc and a file structure that's easier to work with. How? Am I missing a tool that converts ai.obj to nasc files?

 

I've read the AI GF documentation available on this forum, and I'm able to edit and add npcs of my own. I'm still learning, thanks for your help.



#263
eressea

eressea
    • Level 21 Cheater
    • VIP Member
    Posts:
    300
    Reputation:
    5
    Member:
    134050
    Joined:
    07-October 13
  • Current Mood:
    Emotions'
  • Gender:
    Female
  • Country:
    Country Flag
  • User's Feedbacks

  • N/A 0 0 0

Whole l2npc.exe is just a huge virtual machine running ai.obj.

 

Txt files (or ai.obj) = compiled AI

NASC files = AI sources

 

There are few "decompilers" that can convert compiled AI back to source (usually with few errors that must be fixed manually)

 

If you really want to do anything bigger with AI, you should start from sources. Editing ai.obj code is pain in the ass and also it usually prevents "decompilation" (decompilers don't use any real heuristic to analyze the code, they just know some patterns and know how to convert them back to NASC code, so if you do some manual changes in obj, decompiler probably won't be able to decompile it)


Emca
 
--
 
They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety -- Benjamin Franklin

Do unto others as they do unto you -- Anton Szandor LaVey

 

L2 Shrine - Gracia Final 4x l2off retail NO DONATE - https://l2shrine.com/


#264
L2Homage

L2Homage
    • Level 2 Cheater
    • Members
    Posts:
    11
    Reputation:
    0
    Member:
    208311
    Joined:
    01-June 17
  • Gender:
    Male
  • Country:
    Country Flag
  • User's Feedbacks

  • N/A 0 0 0

I'm hoping to make a lot of changes. Thanks for this info, I'll see what I can make of it.



#265
L2Homage

L2Homage
    • Level 2 Cheater
    • Members
    Posts:
    11
    Reputation:
    0
    Member:
    208311
    Joined:
    01-June 17
  • Gender:
    Male
  • Country:
    Country Flag
  • User's Feedbacks

  • N/A 0 0 0

So I've been looking into the NASC files to see if I can understand their structure - and I'm honestly more inclined to work with the compiled AI (split txt) files. Is there any reason I shouldn't do this?

 

I think partly the reason I'm leaning towards the compiled ai, is because of the available

Please Login or Register to see this Hidden Content

that explains it pretty well. Is there any information like this for the NASC files?

 

Also, when I use the splitAI method, some of the paths/names of the files exceed the windows limit. Do you think you can add the path to the ai folder as an option in the .ini file?


Edited by L2Homage, 28 July 2017 - 09:52 PM.


#266
eressea

eressea
    • Level 21 Cheater
    • VIP Member
    Posts:
    300
    Reputation:
    5
    Member:
    134050
    Joined:
    07-October 13
  • Current Mood:
    Emotions'
  • Gender:
    Female
  • Country:
    Country Flag
  • User's Feedbacks

  • N/A 0 0 0

So I've been looking into the NASC files to see if I can understand their structure - and I'm honestly more inclined to work with the compiled AI (split txt) files. Is there any reason I shouldn't do this?

 

I think partly the reason I'm leaning towards the compiled ai, is because of the available

Please Login or Register to see this Hidden Content

that explains it pretty well. Is there any information like this for the NASC files?

 

Also, when I use the splitAI method, some of the paths/names of the files exceed the windows limit. Do you think you can add the path to the ai folder as an option in the .ini file?

 

That documentation can be used for NASC as well. It's generally bad idea to edit compiled OBJ code, it's much harder to write it in OBJ code and the NASC code is really much easier to understand.

 

Just compare this:

handler 4 13	//  TALK_SELECTED
	variable_begin
		"talker"
		"myself"
		"_choiceN"
		"_code"
		"_from_choice"
	variable_end

	push_event	//  myself
	push_const 784			//ShowPage
	add
	fetch_i			//ShowPage
	push_event	//  talker
	push_const 40			//talker
	add
	fetch_i
S1. "noquest.htm"
	push_string S1
	func_call 235012165	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
handler_end

and

	EventHandler TALK_SELECTED(talker)
	{
		ShowPage(talker, "noquest.htm");
	}

It's obvious that you'll make fewer mistakes in NASC. Also NCsoft wrote all the AI code in NASC (the compiler we're using is done by NCsoft itself). It's the same as if you asked me whether it's better to do something in C++ sources or in compiled EXE file. Both is possible but the latter one is much much harder.


Emca
 
--
 
They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety -- Benjamin Franklin

Do unto others as they do unto you -- Anton Szandor LaVey

 

L2 Shrine - Gracia Final 4x l2off retail NO DONATE - https://l2shrine.com/


#267
L2Homage

L2Homage
    • Level 2 Cheater
    • Members
    Posts:
    11
    Reputation:
    0
    Member:
    208311
    Joined:
    01-June 17
  • Gender:
    Male
  • Country:
    Country Flag
  • User's Feedbacks

  • N/A 0 0 0

That documentation can be used for NASC as well. It's generally bad idea to edit compiled OBJ code, it's much harder to write it in OBJ code and the NASC code is really much easier to understand.

 

Just compare this:

handler 4 13	//  TALK_SELECTED
	variable_begin
		"talker"
		"myself"
		"_choiceN"
		"_code"
		"_from_choice"
	variable_end

	push_event	//  myself
	push_const 784			//ShowPage
	add
	fetch_i			//ShowPage
	push_event	//  talker
	push_const 40			//talker
	add
	fetch_i
S1. "noquest.htm"
	push_string S1
	func_call 235012165	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
handler_end

and

	EventHandler TALK_SELECTED(talker)
	{
		ShowPage(talker, "noquest.htm");
	}

It's obvious that you'll make fewer mistakes in NASC. Also NCsoft wrote all the AI code in NASC (the compiler we're using is done by NCsoft itself). It's the same as if you asked me whether it's better to do something in C++ sources or in compiled EXE file. Both is possible but the latter one is much much harder.

 

I see, thanks. I'll do my best with understanding the NASC files, it's obviously the better choice.







Also tagged with one or more of these keywords: Share

MaxCheaters.com IPB Forum Theme by Stereotype