Raised This Month: $51 Target: $400
 12% 

Fix fast download to reconnect


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 11-01-2012 , 10:59   Re: Fix fast download to reconnect
#21

Plugin could retrieve ip/port from "ip" and "port" cvars ; and for admin who know they are behind a router and have a static IP, they could specify "ip x.x.x.x" in their server.cfg.

@Bos93, if you don't mind, I think I might integrate such fix in the coming module you have requested.
__________________
Arkshine is offline
1ka
Senior Member
Join Date: Jun 2012
Old 11-01-2012 , 11:33   Re: Fix fast download to reconnect
#22

And if it turned out that the file is not found in downloadurl?
Do not enable the server to download?
__________________
Sorry for my bad english.
1ka is offline
Bos93
Veteran Member
Join Date: Jul 2010
Old 11-01-2012 , 13:32   Re: Fix fast download to reconnect
#23

Quote:
@Bos93, if you don't mind, I think I might integrate such fix in the coming module you have requested.
I just will be happy
__________________
Bos93 is offline
Send a message via ICQ to Bos93 Send a message via Skype™ to Bos93
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 11-01-2012 , 20:02   Re: Fix fast download to reconnect
#24

Quote:
Originally Posted by Brian-__- View Post
I mean this plugin will fall in infinite loop of reconnecting?

Client connect -> Not downloaded from fastdl -> reconnect by plugin -> Downloaded all resources from fastdl -> reconnect by game -> Client start to download the missing file from game server -> reconnect by plugin because downloading from game server -> Client start to download the missing file from game server -> ...
I don't think the plugin will be triggered in the case where the game transfers you back from fast download to the server. The plugin is not triggered by "downloading from the server," it is triggered by a disconnect command.
__________________
fysiks is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 11-02-2012 , 02:17   Re: Fix fast download to reconnect
#25

Quote:
Originally Posted by Arkshine View Post
Plugin could retrieve ip/port from "ip" and "port" cvars ; and for admin who know they are behind a router and have a static IP, they could specify "ip x.x.x.x" in their server.cfg.

@Bos93, if you don't mind, I think I might integrate such fix in the coming module you have requested.
ip and port cvars are not always configurated, i had 4 servers on same ip during some times, and port was 27015 for all of them.
I think best is a configuration file, as claudius stated.

Now, a plugin to check if any file is missing on http server is needed


Anyway, nice found on the plugin.


So, you are considering that it can't take more than 4 second to reconnect a player sending him Connect command ?
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 11-02-2012 at 02:23.
ConnorMcLeod is offline
mazdan
Junior Member
Join Date: Jan 2011
Old 11-02-2012 , 02:21   Re: Fix fast download to reconnect
#26

cool!
How do you hit upon the idea of this?

Last edited by mazdan; 11-02-2012 at 04:28.
mazdan is offline
RaHBeR
๏_๏
Join Date: Jul 2012
Old 11-02-2012 , 03:45   Re: Fix fast download to reconnect
#27

Quote:
Originally Posted by ConnorMcLeod View Post
i had 4 servers on same ip during some times, and port was 27015 for all of them.
This dosen't quite get to me. How can more than one server run off same the ip with the same port?

Last edited by RaHBeR; 11-02-2012 at 03:47. Reason: ๏_๏
RaHBeR is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 11-02-2012 , 04:08   Re: Fix fast download to reconnect
#28

Servers were not on the same port, but "port" cvar wasn't set properly without any problem.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
pokemonmaster
princess milk
Join Date: Nov 2010
Location: Somewhere in this world
Old 11-02-2012 , 05:44   Re: Fix fast download to reconnect
#29

Quote:
Originally Posted by ConnorMcLeod View Post
ip and port cvars are not always configurated, i had 4 servers on same ip during some times, and port was 27015 for all of them.
I think best is a configuration file, as claudius stated.

Now, a plugin to check if any file is missing on http server is needed


Anyway, nice found on the plugin.


So, you are considering that it can't take more than 4 second to reconnect a player sending him Connect command ?
What about "hostport" cvar?
__________________
اَشْهَدُ اَنْ لَّآ اِلٰهَ اِلَّا اللہُ وَحْدَه لَا شَرِيْكَ لَه وَ اَشْهَدُ اَنَّ مُحَمَّدًا عَبْدُه وَرَسُوْلُه
No longer active in AMXX. Sorry.
pokemonmaster is offline
yokomo
Surprise Ascot!
Join Date: May 2010
Location: Malaysia
Old 11-02-2012 , 06:14   Re: Fix fast download to reconnect
#30

Quote:
Originally Posted by ConnorMcLeod View Post
Servers were not on the same port, but "port" cvar wasn't set properly without any problem.
Agreed, the port cvar always show as "27015". I already use a different port but when type "port" in console it show "27015".
__________________
Team-MMG CS1.6 Servers:
✅ MultiMod -- 103.179.44.152:27016
✅ Zombie Plague -- 103.179.44.152:27015
✅ Zombie Escape -- 103.179.44.152:27017
✅ Klassik Kombat -- 103.179.44.152:27018
✅ Boss-Battle -- 103.179.44.152:27019
yokomo is offline
Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:44.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode