Neon revamped

This forum contains the items, weapons, resources or other files shared between players.

Moderators: osRose dev team, ospRose dev team, osiRose dev team, Moderators

Forum rules
Client Editing is a delicate subject. osRose and osiRose will not support or use any Client Editing tool or results as a standard. So you are free to experiment, test, and develop there on Client Editing, but at your own risk :)
Don't share ANY files, graphics, items that don't belong to you.

Neon revamped

Postby ICON on Fri Jul 23, 2010 6:16 pm

As i posted in another post i would upload a revamped Neoncube

This is the sources and contains the following mods
Server Name, Reg link , Patch file, patch location ect all in the exe
Config file renamed and moved to 3ddata control system
New Skin Also rar pass is in Exe and with patch file
it auto over rights old file so no need for the delete. I know this post is crappy
And was quick. lmame or raven or some one want to redo it for me that's fine.

Here it is http://tribalgamingnet.com/NEONRevamp.rar
  1. First off to make this work for your Server, You will need
  2.  
  3. Microsoft Visual Studio 2005 0r 2008
  4.  
  5. Now to config it to your server Open Neoncube.sln in visual Studio
  6.  
  7. Clik on neoncube in the left pannel {Exspand}
  8. Source Files {Exspand}
  9. Doubble click Main.cpp
  10.  
  11. Goto line 201 you will see some configs Change
  12.  
  13.           //Server Name
  14. strcpy(settings.szServerName, "Your Sever Name here");
  15.         //Your News page
  16. strcpy(settings.szNoticeURL, "http://www.google.com");
  17.         //Server ip
  18. strcpy(settings.szPatchURL, "http://www.google.com");
  19.          //Link to your patch.txt
  20. strcpy(settings.szPatchList, "patch/patch.txt");
  21.         //Name of the Exe used
  22. strcpy(settings.szExecutable, "Trose.exe");
  23.         //Location of your Rars
  24. strcpy(settings.szPatchFolder, "patch/");
  25.         //Link to your Reg page
  26. strcpy(settings.szRegistration, "http://www.google.com");
  27.  
  28. Edit the data to fit your server
  29.  
  30. then go to line 2489
  31.  
  32. For Os Rose Osi or Osp
  33.  
  34. Change
  35.  
  36. strcpy(settings.szRagExeCall, "TRose.exe @TRIGGER_SOFT@ _server 127.0.0.1");
  37. to
  38. strcpy(settings.szRagExeCall, "TRose.exe @TRIGGER_SOFT@ _server your ip");
  39.  
  40. And for Arc Irose
  41.  
  42. strcpy(settings.szRagExeCall, "TRose.exe @TRIGGER_SOFT@ _server 127.0.0.1");
  43. to
  44. strcpy(settings.szRagExeCall, "yourguard.exe Your ip");
  45.  
  46. save all compile and done The new exe and client folder will be located in client files of the sourcse.
  47. The system.ini & Skin file are moved into 3ddata /control/system this all needs to be here to work
  48. (Out of site out of mined)
  49.  




Edit from lmame:
Don't forget to look at the "old" setup guide for the right paths structures...
viewtopic.php?f=28&t=716
Move along move along like i know you Should.

New games in the making....
ICON
Clown
Clown
 
Posts: 532
Joined: Mon Feb 04, 2008 7:34 am

Re: Neon revamped

Postby lmame on Fri Jul 23, 2010 6:23 pm

Thanks for them ;)

Does it include those patches?:
-> the one that automatically deletes a file before inserting a new one in the VFS?,
-> the one that solves the problem with the IIS server?,
The world is full of love and peace ^_^
Image
User avatar
lmame
Admin
Admin
 
Posts: 8997
Joined: Mon Aug 06, 2007 4:42 pm
Location: July City

Re: Neon revamped

Postby ICON on Fri Jul 23, 2010 6:26 pm

the auto delete yes, Never used IIS only Apache so did not know of a problem.
Move along move along like i know you Should.

New games in the making....
ICON
Clown
Clown
 
Posts: 532
Joined: Mon Feb 04, 2008 7:34 am

Re: Neon revamped

Postby lmame on Fri Jul 23, 2010 6:32 pm

Ok :)
I'll repost the patch I made here then.
It solves the problem quite some people had when they couldn't download the patchlist.txt and were having weird error, receiving HTML message rather than the .txt file even when all parameters were fine.

You got three replace to do:
REPLACE:
  1.  
  2.     HINTERNET hPatch2Request = HttpOpenRequestA(g_hConnection,"GET",settings.szPatchList,NULL, NULL,
  3.     (const TCHAR**)"*/*\0",0, NULL);
  4.  


BY:
  1.  
  2.     //LMA: Good internet options.
  3.     //If we don't do this, we got HTTP 406 errors on IIS 7.
  4.     //mime problems, whatever...
  5.     LPCSTR szAcceptTypes[] = { "*/*", NULL };
  6.  
  7.     //HINTERNET hPatch2Request = HttpOpenRequestA(g_hConnection,"GET",settings.szPatchList,NULL, NULL,
  8.     //(const TCHAR**)"*/*\0",0, NULL);
  9.  
  10.     HINTERNET hPatch2Request = HttpOpenRequestA(g_hConnection,"GET",settings.szPatchList,"HTTP/1.1", NULL,
  11.     szAcceptTypes,INTERNET_FLAG_RELOAD, NULL);
  12.     //LMA End.
  13.  



REPLACE:
  1.  
  2.                                             HINTERNET hInfoRequest = HttpOpenRequestA(g_hConnection,
  3.                                                 "HEAD", file_path,
  4.                                                 NULL, NULL,
  5.                                                 (const char**)"*/*\0",
  6.                                                 0, NULL
  7.                                                 );
  8.  



BY:
  1.  
  2.                                             //LMA: Good internet options.
  3.                                             LPCSTR szAcceptTypes[] = { "*/*", NULL };
  4.  
  5.                                             //HINTERNET hInfoRequest = HttpOpenRequestA(g_hConnection,
  6.                                             //  "HEAD", file_path,
  7.                                             //  NULL, NULL,
  8.                                             //  (const char**)"*/*\0",
  9.                                             //  0, NULL
  10.                                             //  );
  11.                                             HINTERNET hInfoRequest = HttpOpenRequestA(g_hConnection,"HEAD",file_path,"HTTP/1.1", NULL,
  12.                                             szAcceptTypes,INTERNET_FLAG_RELOAD, NULL);
  13.                                             //LMA End.
  14.  



REPLACE:
  1.  
  2.                                     HINTERNET hRequest = HttpOpenRequestA(g_hConnection,
  3.                                         "GET", file_path,
  4.                                         NULL, NULL,
  5.                                         (const char**)"*/*\0",
  6.                                         0, NULL
  7.                                         );
  8.  


BY:
  1.  
  2.                                     //LMA: Good internet options.
  3.                                     LPCSTR szAcceptTypes[] = { "*/*", NULL };
  4.  
  5.                                     //HINTERNET hRequest = HttpOpenRequestA(g_hConnection,
  6.                                     //  "GET", file_path,
  7.                                     //  NULL, NULL,
  8.                                     //  (const char**)"*/*\0",
  9.                                     //  0, NULL
  10.                                     //  );
  11.                                     HINTERNET hRequest = HttpOpenRequestA(g_hConnection,"GET",file_path,"HTTP/1.1", NULL,
  12.                                     szAcceptTypes,INTERNET_FLAG_RELOAD, NULL);
  13.                                     //LMA End.
  14.  
The world is full of love and peace ^_^
Image
User avatar
lmame
Admin
Admin
 
Posts: 8997
Joined: Mon Aug 06, 2007 4:42 pm
Location: July City

Re: Neon revamped

Postby MightyKai on Fri Jul 23, 2010 9:23 pm

nice post thanks.

but is there away that this launcher/patcher can update it self?

like if the settings are changed like server ip that this patcher can be updated?
Consultation en ligne viagrasansordonnancefr.com pharmacie de Paris
MightyKai
Antares
Antares
 
Posts: 335
Joined: Mon May 24, 2010 7:34 pm

Re: Neon revamped

Postby lmame on Fri Jul 23, 2010 9:52 pm

No. Neoncube could download a special .zip (or whatever), then launches another .exe that would close neoncube (or neoncube closes itself) and the other .exe replaces old neoncube by the new one.
The world is full of love and peace ^_^
Image
User avatar
lmame
Admin
Admin
 
Posts: 8997
Joined: Mon Aug 06, 2007 4:42 pm
Location: July City

Re: Neon revamped

Postby MightyKai on Sat Jul 24, 2010 4:22 pm

lmame wrote:No. Neoncube could download a special .zip (or whatever), then launches another .exe that would close neoncube (or neoncube closes itself) and the other .exe replaces old neoncube by the new one.


okay i have found something
i made a program that start first on the background that update first neoncube and then it start neoncube automatic. ;)
Consultation en ligne viagrasansordonnancefr.com pharmacie de Paris
MightyKai
Antares
Antares
 
Posts: 335
Joined: Mon May 24, 2010 7:34 pm

Re: Neon revamped

Postby lmame on Sat Jul 24, 2010 8:01 pm

Ok :)
The world is full of love and peace ^_^
Image
User avatar
lmame
Admin
Admin
 
Posts: 8997
Joined: Mon Aug 06, 2007 4:42 pm
Location: July City

Re: Neon revamped

Postby rave on Tue Jul 27, 2010 9:48 am

nice it works launcher patcher but how can i make my own style skin? thanks
rave
Clown
Clown
 
Posts: 459
Joined: Thu Dec 10, 2009 1:07 pm

Re: Neon revamped

Postby lmame on Tue Jul 27, 2010 8:46 pm

Well. Just look how the default skin is done :)
You can change pretty much all.
The world is full of love and peace ^_^
Image
User avatar
lmame
Admin
Admin
 
Posts: 8997
Joined: Mon Aug 06, 2007 4:42 pm
Location: July City

Next

Return to Submit client ressources

Who is online

Users browsing this forum: No registered users and 7 guests