Jump to content

Questions for OFF Developers


Recommended Posts

Long story short, iˇm noob whoš looking for some directions to right way.

Everything about l2OFF, im interested to start with OFF rather with J, i got bunch of questions, ill try give some answers my self and correct me if im wrong:


1. Compiler - "a tool that can be used to have "ready for game files", for L2OFF can be used Microsoft Visual Studio."

 

2.Decompiler - "Vise versa of compiler, also can be used with Microsoft Visual Studio?"

 

3. L2OFF Language - is it C++ and PHP ?

4. Advised OS to run L2OFF server would be Microsoft Server 2008 RS 32 bit version? - can end up having memory limit issues

5. How to understand if user has compiled or non compiled ? - I would assume by looking at file extensions like .class, that probably is not possible to open? or can?

6. Alright, i have shared OFF source, what is the first thing developers normally do? - I mean i want to have clean files with what to learn to, i think i found some

7. Lets say im interested to create ALT+B panel onto L2OFF source, where should i start? (ingame ALTB is disabled), does it use html language for community board?

 

8. How does scripts work? with source i have, there are scripts, are they run automatically, or there are certain functions that will call them? For example (i dont have it), lets say i got TvT script, how could i run it? or there is some global function that read everything thats inside "scripts folder", and is activated based on command or time?

9. lets assume, im interested to write whole TvT script from scratch, where could i start? is there a library that can be used ? Should i be using Microsoft Visual? is there a functions library?



Some Advise for installation, right now ive managed to run off, but without NPC exe,  for some reason VM Machine that im running (windows server 2008 RS 64Bit) is not showing BOOT.INI, ive  already tried to reveal the hidden content, but its just missing, i would assume its because of VMware-is there anyways possible to run directly from windows 10 machine (64bit), also does anyone know direct link for windows server 32 bit or 86bit ? ISOs ive downloaded from MS did not get installed by Vmware for some reason.

Another issue was about IP Configuration, i mean on VM ware i would not use WAN (whatsmyip lookup) to setup over lan ? - ive tried Bridge, host, NAT (definitely not working :D). But seemed to be not working, Running on L2 on same VmMachine , it works, when i either use: 10.0.2.24 (Virtual IP) or 127.0.0.1, i did try with WAN aswell, but on host machine still does not connect through, any advise? - Im bit confident that i missed something really tiny and easy.

Also could or would, anyone share Interlude, HF or GF source that is not "TOO TERRIBLE", but is clean from customization, so i could use that as my first files to learn and train on top of these (i believe i would need decompiled?, what would be the compiler?)

 

 



Thanks for the efford folks!

Edited by iPlay.gg
Link to comment
Share on other sites

17 hours ago, iPlay.gg said:

1. Compiler - "a tool that can be used to have "ready for game files", for L2OFF can be used Microsoft Visual Studio."

 

Hi, this depends on whether you're speaking about extender compiler or AI compiler. Extenders* are written in ASM, C++ or combination of both and usually it's compiled with Visual Studio. AI is written in NASC language (made by NCsoft) and there are multiple compilers available - some of them based on NCsoft binaries, some of them written from scratch.

 

* explanation about extenders: There are some files from NCsoft that leaked out. We know at least about C0 files, C4 PTS files and GF PTS files. All these contain EXE files that you can use - but they're full of bugs etc. Here comes the extender - it's some DLL file that attaches to server EXE file and does some changes and fixes. Usually it's very difficult to find out how to change something so I won't recommend trying this if you're beginner and don't have good experience with ASM and C++.

 

17 hours ago, iPlay.gg said:

2.Decompiler - "Vise versa of compiler, also can be used with Microsoft Visual Studio?"

 

Probably decompiler for AI - in L2OFF there are leaked obj files (compiled AI), if you want to work with it, you need to get decompiled AI somewhere or decompile it yourself. If you're beginner, you should find already decompiled AI.

As for server itself - it can't be decompiled, programmers have to reverse engineer it (see explanation about extenders in previous answer)

 

17 hours ago, iPlay.gg said:

3. L2OFF Language - is it C++ and PHP ?

 

The original servers are written in C++ and AI is written in NASC language

 

17 hours ago, iPlay.gg said:

4. Advised OS to run L2OFF server would be Microsoft Server 2008 RS 32 bit version? - can end up having memory limit issues

 

Only C0 server was 32bit, all newer versions are 64bit so they require 64bit system. GF-based servers run fine on all Windows Servers 2008+ (64bit). You definitely don't want to use C0 based server if you're a beginner.

 

17 hours ago, iPlay.gg said:

5. How to understand if user has compiled or non compiled ? - I would assume by looking at file extensions like .class, that probably is not possible to open? or can?

 

I would guess it's again about compiled AI (obj files using simple stack language, hard to read and update) and source AI (NASC files, easy to read and update, have to be compiled before use on server) but I'm not sure.

 

17 hours ago, iPlay.gg said:

6. Alright, i have shared OFF source, what is the first thing developers normally do? - I mean i want to have clean files with what to learn to, i think i found some

 

You don't have server source, you have only extender source. You probably want to compile it (in Visual Studio) and use it with your server files. Pay attention to picking right binaries (EXE files) as it must match extender base version (C4/GF) - extender for GF won't work with C4 EXE files and vice versa.

 

17 hours ago, iPlay.gg said:

7. Lets say im interested to create ALT+B panel onto L2OFF source, where should i start? (ingame ALTB is disabled), does it use html language for community board?

 

You would have to add handling for all bypasses for community board into the extender. Maybe few days of work for someone who is experienced with L2OFF core development - there are not many people who can do this. You can try to learn it slowly (get IDA Pro, create database for your l2server.exe and try to comprehend what your extender is doing there) but you stand no chance if you're not ASM/C++ programmer.

 

17 hours ago, iPlay.gg said:

8. How does scripts work? with source i have, there are scripts, are they run automatically, or there are certain functions that will call them? For example (i dont have it), lets say i got TvT script, how could i run it? or there is some global function that read everything thats inside "scripts folder", and is activated based on command or time?

 

You should get decopiled AI somewhere and try to learn from it. There are AI classes defined and NPCs can use them. For TvT event you would probably create some NPC (manager who would manage the event) and write an AI class for it to handle everything.

 

17 hours ago, iPlay.gg said:

9. lets assume, im interested to write whole TvT script from scratch, where could i start? is there a library that can be used ? Should i be using Microsoft Visual? is there a functions library?

 

If it will need some core support, you'll have to implement it in your extender. If you're ok with features that are already there, you need just to write the AI class (in NASC language), create NPC(s) for it, write HTML dialogs etc.

 

17 hours ago, iPlay.gg said:

Some Advise for installation, right now ive managed to run off, but without NPC exe,  for some reason VM Machine that im running (windows server 2008 RS 64Bit) is not showing BOOT.INI, ive  already tried to reveal the hidden content, but its just missing, i would assume its because of VMware-is there anyways possible to run directly from windows 10 machine (64bit), also does anyone know direct link for windows server 32 bit or 86bit ? ISOs ive downloaded from MS did not get installed by Vmware for some reason.

Another issue was about IP Configuration, i mean on VM ware i would not use WAN (whatsmyip lookup) to setup over lan ? - ive tried Bridge, host, NAT (definitely not working :D). But seemed to be not working, Running on L2 on same VmMachine , it works, when i either use: 10.0.2.24 (Virtual IP) or 127.0.0.1, i did try with WAN aswell, but on host machine still does not connect through, any advise? - Im bit confident that i missed something really tiny and easy.

Also could or would, anyone share Interlude, HF or GF source that is not "TOO TERRIBLE", but is clean from customization, so i could use that as my first files to learn and train on top of these (i believe i would need decompiled?, what would be the compiler?)


Thanks for the efford folks!

 

You can run it on W10 64bit so you don't need any VM. As for Visual Studio, you'll probably need exactly Visual Studio 2005 SP1 64bit.

 

As for clean GF - google for l2server_l2off_gracia_final_83, that's the original leak. Don't run live server (with players) on it as it's full of dupes and other security bugs (and many other bugs). As for some extender source - you can get my opensource extender or download Vanganth's extender somewhere, if I remember correctly, someone has shared it here on this forum.

Edited by eressea
  • Like 1
  • Upvote 2
Link to comment
Share on other sites

Thank you very much, you have helped me alot about understanding L2OFF - and i like it. Bought Extender yesterday and hopefully some magic shall happen :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • LAST MESSAGE ON THIS FORUM, DO NOT BUY FROM THIS GUY.   OFFICIALLY CONSIDER HIM A SCAMMER. TOOK OVER 400 DOLLARS AND THE MOST IMPORTANT THING, MY TIME. HE TRANSFERRED ME DRACO SET (1 MONTH AND A HALF AGO) AND A DAGGER ACCOUNT, THEN KEPT DRAGGING THE REST, FOR OVER 1 MONTH I HAVE BEEN WAITING ON THE REST OF THE STUFF. I DON'T KNOW WHY, BUT HE KEEPS PROMISING TOMORROW, THE DAY AFTER, WENSDAY FOR ITEMS THAT NEVER ARRIVE.  I AM STILL WAITING FOR HIS ITEMS TO ARRIVE NOW (TODAY DECEMBER 7TH 2023).     DO YOURSELF A FAVOR, DON'T BUY FROM THIS SITE, SPECIALLY FROM THIS SCAMMER.  ADMINS, IF YOU NEED PROOF OF WHAT I AM SAYING, SEND ME A DM IN DISCORD OR HERE AND I WILL GIVE PHOTO EVIDENCE. PLASE BLOCK THIS USER.   REPEAT. DO NOT BUY FROM THIS SELLER.   NOTE: IF HE CONTACTS YOU TO BUY ITEMS FROM YOU, SAME WARNING REMAINS, I GOT A MESSAGE FROM ANOTHER PERSON  TELLING ME HOW HE TRANSFERS HALF THE MONEY TO THEM THEN DOESN'T REPLY ANYMORE. 
    • Very useful guide.  For me as a beginner L2 Developer, those skill tips, must have !  Great work.
    • Hello Maxcheaters, could some knowledged member look at my cmd and check what exactly is the issue? Been running the Interlude server a while ago for few seasons and this appeared every now and again. I launched it recently and stumbled upon this forgotten issue. Used a restard once a day sorted server going. I used to thinkmay be something to do with ram, but it is high enough, my knowledge doesnt reach further. Please help
    • There has to be 99% the problem with connection, but how to find it and solve it ???   I've installed/uninstalled  Lineage 2 Client two times. Clean files. Have opened local Server on my pc, which was working, before i delete all the files and re-install them.   Test home server locally/ online Server = give me Login Server. 1ND is Server Connect ERROR  !  2ND INVALID SOCKET  !   Even the discord i've downloaded, can't update it self, spinning all over, like waiting to receive something from somewhere. Same thing with L2 Launcher. Launcer opening, but you can't update, because gives you Server Connect ERROR! Something has to do with connection, but no idea where.      HELP !!!!
  • Topics

×
×
  • Create New...