-
Enthusiast
Hey I've been trying to get this to work for a while (patching) but I just can't seem to get a website working off my pc not locally but publicly. I've been trying since my last post so I'm pretty sure I've tryed everything. Is it possible for the launcher to check for updates from the server instead of a website?? I have a bit of experience coding and I don't see what would be the big diff O.o
Sorry if this is allot lol and I have the server working publically and I saw ur eg http://127.0.0.1:8080/update/update.ini" how could I get that done with my ip without making a web site.
Posted via Mobile Device
---------- Post added at 08:47 AM ---------- Previous post was at 08:39 AM ----------
Or is it even possible to do it off of a Media fire dl link or a free website were the client downloads and compares the new = "wever ver" line of code in update.ini to the old one and simply replaces the old update.ini and patches the same way you showed above?? :(
Posted via Mobile Device
Last edited by gotenkvg; 01-08-11 at 11:12 AM.
-
Re: [Release] Open Source PokeNet Laucnher
If you have a direct link file then yes you can use mediafire, to download a file from the machine directly would be way to much of a work load on the host machine.
Just upload the files to some random web hosting service and use that link to them.
-
Enthusiast
Re: [Release] Open Source PokeNet Laucnher
so i got a error and i actually got the website to work off my comp seems like just needed to restart it :( so here are some print screens
http://i741.photobucket.com/albums/x...ngearz/4-1.jpg
http://i741.photobucket.com/albums/x...dengearz/3.jpg
http://i741.photobucket.com/albums/x...dengearz/2.jpg
http://i741.photobucket.com/albums/x...dengearz/1.jpg
Every time i launch it, it deletes my pokenet.ini file also..... im not really sure if i even have the whole website thing set up correctly for putting files on it but the site can be accesed on other computers and it isn't just locally. I've tried with the MyIpAdress/update.ini etc.... and it still gave me that error or kept deleting my pokenet.ini or update.ini
-
Re: [Release] Open Source PokeNet Laucnher
When it launches it is set to check if the file exists then download a new one. If it isnt downloading that means something is wrong with the link or a corrupt code. On that Microsoft .Net Framework error, hit details and copy/paste the contents please.
-
Enthusiast
Re: [Release] Open Source PokeNet Laucnher
i'll be home late tomorrow il do it then
-
Enthusiast
Re: [Release] Open Source PokeNet Laucnher
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.ArgumentException: 'runthedomes.zapto.org/postupdate.ini' is not a valid remote file address. A valid address should include a protocol, a path and a file name.
Parameter name: address
at Microsoft.VisualBasic.Devices.Network.GetUri(String address)
at Microsoft.VisualBasic.Devices.Network.DownloadFile(String address, String destinationFileName, String userName, String password, Boolean showUI, Int32 connectionTimeout, Boolean overwrite, UICancelOption onUserCancel)
at Microsoft.VisualBasic.Devices.Network.DownloadFile(String address, String destinationFileName, String userName, String password, Boolean showUI, Int32 connectionTimeout, Boolean overwrite)
at Microsoft.VisualBasic.Devices.Network.DownloadFile(String address, String destinationFileName)
at PokeNet_Launcher.Form1.Form1_Load(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at PokeNet_Launcher.Form1.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4214 (VistaSP2GDR.050727-4200)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
PokeNet-Launcher
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/Michael/Desktop/pokemon/SERVER/t/StrickenFromHistory-PocketMonstersOnline-df11f38/Client/PokeNet-Launcher.exe
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4212 (VistaSP2GDR.050727-4200)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4214 (VistaSP2GDR.050727-4200)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
Nini
Assembly Version: 1.1.0.0
Win32 Version: 1.1.0.0
CodeBase: file:///C:/Users/Michael/Desktop/pokemon/SERVER/t/StrickenFromHistory-PocketMonstersOnline-df11f38/Client/Nini.DLL
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
-
Re: [Release] Open Source PokeNet Laucnher
You need to add http:// to runthedomes.zapto.org/postupdate.ini
and any links you have in the cofigs.
-
Enthusiast
Re: [Release] Open Source PokeNet Laucnher
well i feel like an idiot
---------- Post added at 06:00 AM ---------- Previous post was at 05:58 AM ----------
Thanks and final question how do u configure this line in news/setting.php var $mynews = "9";
-
Re: [Release] Open Source PokeNet Laucnher
What do u want to do with the line? im not understanding the question
-
Enthusiast
Re: [Release] Open Source PokeNet Laucnher
well i dont even know what it does, my whole updating and stuff works perfectly now just that were the news is aspost to apear it shows one of those internet explorer erros were page cannot be loaded blah blah blah so obv it isnt conencting to my database or im not setting up the php's correctly on my website
-
Re: [Release] Open Source PokeNet Laucnher
Add me to msn and ill help u out
d.faultx@hotmail.com
-
Enthusiast
Re: [Release] Open Source PokeNet Laucnher
think i might of found a bug with the patching it only seems to patch extension 1 even if other extensions are enabled. i tryed testing it by making 2 different load .png's and it downloaded the 1st one and not the second one, also my 2nd patch never worked. even if i set the clients rev back 1 so it patches again it still doesnt work
http://i741.photobucket.com/albums/x...earz/zzzzz.png
[servers update.ini]
PatchFiles1 = "http://runthedomes.zapto.org/downloads/load.png"
PatchFiles2 = "http://runthedomes.zapto.org/downloads/pokeball.png"
PatchFiles3 = "http://runthedomes.zapto.org/downloads/t/load.png"
Patch1 = "Enabled"
Patch2 = "Enabled"
Patch3 = "Enabled"
[REV]
New = "4"
Old = "3"
in the client it goes new = 3 old =3 which is whats aspost to happen but my patch 2 and 3 files are not even downloaded. it also seems not to bother adding the other extensions or patch files into the client update.ini
[client update.ini]
PatchFiles1 = http://runthedomes.zapto.org/downloads/load.png
PatchFiles2 =
PatchFiles3 =
Patch1Extention = res/load.png
Patch2Extention =
Patch3Extention =
yes the two load.png's are different images, they look nothing alike and yes ive refreshed the folder and no im getting a long client error only one is, unable to update revision or something like that and i think thats related to updating rev.txt
Last edited by gotenkvg; 04-08-11 at 11:45 PM.
Reason: forgot something