This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

HTTP Resources Manager


Post New Thread Reply   
 
Thread Tools Display Modes
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 06-04-2013 , 06:50   Re: HTTP Resources Manager
Reply With Quote #151

Quote:
Originally Posted by alexinno View Post
it works without any issues for me on linux ... at least i didn't see any problems regarding http res manager and my server is up and runing for ~ 1 week now
Code:
rm config
 Configuration initialization started.

  Map name : de_dust_2x2_b
  Map prefix : de

  Attempting to parse "addons/http_resources_manager/configs/de_dust_2x2_b.res" file...
 Searching for resources and urls...
Found "gfx/env/sky_wasteland02up.tga"
Found "gfx/env/sky_wasteland02dn.tga"
Found "gfx/env/sky_wasteland02lf.tga"
Found "gfx/env/sky_wasteland02rt.tga"
Found "gfx/env/sky_wasteland02ft.tga"
Found "gfx/env/sky_wasteland02bk.tga"
Found "models/metalplategibs_green.mdl"
No entries found.

  Attempting to parse "addons/http_resources_manager/configs/@default.res" file...
 Searching for urls...
Found "http://www.myweb.org/files/csserver"

  Found "7" resources.
  Found "1" urls.

 Configuration initialization started.
If you want to test the version I've gave to yokomo, here the .so. I've kept the debug thing in case it would happen for you. (Don't forget about the changes in how are handled configuration files)
Attached Files
File Type: so http_resources_manager_mm_i386.so (74.9 KB, 142 views)
__________________

Last edited by Arkshine; 06-04-2013 at 06:52.
Arkshine is offline
yokomo
Surprise Ascot!
Join Date: May 2010
Location: Malaysia
Old 06-04-2013 , 09:47   Re: HTTP Resources Manager
Reply With Quote #152

Tested, the result:
Spoiler
yokomo is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 06-04-2013 , 10:20   Re: HTTP Resources Manager
Reply With Quote #153

Oops.

Forgot to call fclose() in fileSize(). Since called on each file, no wondering why you get such error. Try this binary.
I've removed the debug also.
Attached Files
File Type: dll http_resources_manager_mm.dll (34.5 KB, 286 views)
File Type: so http_resources_manager_mm_i386.so (74.8 KB, 281 views)
__________________
Arkshine is offline
yokomo
Surprise Ascot!
Join Date: May 2010
Location: Malaysia
Old 06-04-2013 , 11:05   Re: HTTP Resources Manager
Reply With Quote #154

Quote:
Originally Posted by Arkshine View Post
Oops.

Forgot to call fclose() in fileSize(). Since called on each file, no wondering why you get such error. Try this binary.
I've removed the debug also.
Tested, after 10x changelevel the result is:
Spoiler


Spoiler
yokomo is offline
alexinno
Senior Member
Join Date: Mar 2007
Location: C:\
Old 06-10-2013 , 06:56   Re: HTTP Resources Manager
Reply With Quote #155

works for me too on linux no problems so far with this version https://forums.alliedmods.net/showpo...&postcount=153
with the previous version sometimes i had an issue that the download process would start over, now i don't see this happening anymore
thanks again for this Arkshine
__________________

[IMG]http://img188.**************/img188/5787/banner2rcw.png[/IMG]

Last edited by alexinno; 06-10-2013 at 06:58.
alexinno is offline
alexinno
Senior Member
Join Date: Mar 2007
Location: C:\
Old 06-14-2013 , 04:36   Re: HTTP Resources Manager
Reply With Quote #156

sorry for the double posting ...

Something strange is happening and i can't figure it out why ... i've installed this plugin on two servers hosted both on the same box , linux os
one it's working without issues , and on the other one when i comes to download maps (.bsp files) it starts dowloading them from the game server instead of the downloadurl

rm config
Quote:
Configuration initialization started.

Map name : cs_assault
Map prefix : cs

Attempting to parse "addons/http_resources_manager/configs/@default.res" file...

Searching for resources and urls...

Found url "http://www.mydomail.org/files/csserver/"
Found url "http://download.otherdomain.com/cstrike"

Attempting to parse "addons/http_resources_manager/configs/prefix-cs.res" file...

The file doesn't exist or could not be opened.

Attempting to parse "addons/http_resources_manager/configs/cs_assault.res" file...

The file doesn't exist or could not be opened.

Found "2" urls.

Configuration initialization started.
rm status
Quote:
HTTP Resources Manager v2.0, by Arkshine.
-
Memory initialization started.

[FOUND] Finding "SV_SendResources" function
[FOUND] Finding "SV_SendConsistencyList" function
[FOUND] Finding "MSG_WriteBits" function
[FOUND] Finding "MSG_StartBitWriting" function
[FOUND] Finding "MSG_EndBitWriting" function
[FOUND] Finding "Steam_NotifyClientDisconnect" function
[FOUND] Finding "sv" global variable

[SUCCESS] Creating "SV_SendResourcesHook" hook
[SUCCESS] Creating "Steam_NotifyClientDisconnect" hook

Memory initialization ended.

Status : Running.
meta list
Quote:
1191 Currently loaded plugins:
description stat pend file vers src load unlod
[ 1] AMX Mod X RUN - amxmodx_mm_i386. v1.8.2 ini Start ANY
[ 2] HTTP Resources RUN - http_resources_m v2.0 ini ANY ANY
[ 3] MySQL RUN - mysql_amxx_i386. v1.8.2 pl1 ANY ANY
[ 4] Fun RUN - fun_amxx_i386.so v1.8.2 pl1 ANY ANY
[ 5] Engine RUN - engine_amxx_i386 v1.8.2 pl1 ANY ANY
[ 6] FakeMeta RUN - fakemeta_amxx_i3 v1.8.2 pl1 ANY ANY
[ 7] CStrike RUN - cstrike_amxx_i38 v1.8.2 pl1 ANY ANY
[ 8] CSX RUN - csx_amxx_i386.so v1.8.2 pl1 ANY ANY
[ 9] Ham Sandwich RUN - hamsandwich_amxx v1.8.2 pl1 ANY ANY
9 plugins, 9 running
version
Quote:
11:40:15 Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
Exe build: 17:45:07 Apr 25 2013 (6027)
any ideas ?
__________________

[IMG]http://img188.**************/img188/5787/banner2rcw.png[/IMG]

Last edited by alexinno; 06-14-2013 at 04:43.
alexinno is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 06-14-2013 , 04:51   Re: HTTP Resources Manager
Reply With Quote #157

Try to enable "developer" cvar in your client, then connect to your server. Once you start to download slowly, cancel, and check your console. It should give useful informations.
__________________
Arkshine is offline
alexinno
Senior Member
Join Date: Mar 2007
Location: C:\
Old 06-14-2013 , 06:12   Re: HTTP Resources Manager
Reply With Quote #158

i don't see anything suspect
Quote:
BUILD 6027 SERVER (0 CRC)
Server # 3
Serverinfo packet received.
Clearing memory

Couldn't find map maps/de_tuscan.bsp, server will download the map
Spooling demo header.
Verifying and downloading resources...
Compressing split packet (691 -> 241 bytes)
Decompressing file sound/misc/knockedout.wav (14017 -> 39964)
Processing sound/misc/knockedout.wav
Decompressing file sound/misc/choke.wav (13268 -> 14622)
Processing sound/misc/choke.wav
Decompressing file gfx/ig/csgo.tga (32392 -> 49196)
Processing gfx/ig/csgo.tga
Decompressing file maps/de_tuscan.txt (278 -> 355)
Processing maps/de_tuscan.txt
Decompressing file sound/misc/ooorgle.wav (31985 -> 11672
Processing sound/misc/ooorgle.wav
Decompressing file sound/misc/bleeeat.wav (15064 -> 4419
Processing sound/misc/bleeeat.wav
Decompressing file sound/misc/brawwrr.wav (12686 -> 58084)
Processing sound/misc/brawwrr.wav
Decompressing file sound/misc/slap.wav (32238 -> 59436)
Processing sound/misc/slap.wav
Decompressing file sound/misc/bitchslap.wav (15942 -> 28266)
Processing sound/misc/bitchslap.wav
Decompressing file sound/misc/who.wav (12817 -> 16584)
Processing sound/misc/who.wav
Decompressing file sound/misc/stfu.wav (18986 -> 38560)
Processing sound/misc/stfu.wav
Decompressing file sound/misc/pray.wav (95580 -> 106082)
Processing sound/misc/pray.wav
Processing sound/misc/pileoshit.wav
Can't download sound/misc/choke.wav, already exists
Processing sound/misc/choke.wav
Decompressing file sound/misc/snore.wav (7935 -> 22940)
Processing sound/misc/snore.wav
Decompressing file maps/de_tuscan.bsp (3129506 -> 5317220)
Processing maps/de_tuscan.bsp
Decompressing file models/de_tuscan/tuscan_palmtree1.mdl (171502 -> 339956)
Processing models/de_tuscan/tuscan_palmtree1.mdl
Decompressing file models/de_tuscan/tuscan_shade1a.mdl (54275 -> 68596)
Processing models/de_tuscan/tuscan_shade1a.mdl
Decompressing file models/de_tuscan/tuscan_shade3a.mdl (239800 -> 265932)
Processing models/de_tuscan/tuscan_shade3a.mdl
Decompressing file models/de_tuscan/tuscan_grass1a.mdl (26284 -> 68856)
Processing models/de_tuscan/tuscan_grass1a.mdl
Decompressing file models/de_tuscan/tuscan_shade2a.mdl (54863 -> 68596)
Processing models/de_tuscan/tuscan_shade2a.mdl
WARNING! misc/ooorgle.wav is causing runtime sample conversion!
WARNING! misc/bleeeat.wav is causing runtime sample conversion!
WARNING! misc/brawwrr.wav is causing runtime sample conversion!
Microsoft PCM format only
misc/pileoshit.wav is a stereo sample
Microsoft PCM format only
misc/choke.wav is a stereo sample
WARNING! misc/snore.wav is causing runtime sample conversion!
Texture load: 61.2ms
Setting up renderer...
R_LoadSkys: Couldn't load gfx/env/dustrt.tga
SKY: desertrt, desertbk, desertlf, desertft, desertup, desertdn, done
CL_SignonReply: 1
118.6 megabyte data cache
nobody connected
Couldn't open file overviews/de_tuscan.txt. Using default values for overiew mode.
Couldn't open file overviews/de_tuscan.txt. Using default values for overiew mode.
CL_SignonReply: 2
Not recording a demo.
recording to IG-Sv1-demo.dem.
this is what i get in server console with dev enabled
Quote:
"nobody<49><STEAM_0:1:19082555><>" STEAM USERID validated
06/14/2013 - 13:17:20: "nobody<49><STEAM_0:1:19082555><>" STEAM USERID validated
Compressing split packet (21372 -> 9201 bytes)
Verifying and uploading resources...
Custom resources total 6.15K
Decals: 6.15K
----------------------
and de_tuscan.bsp takes like 4 minutes to download


later edit ... i've connected to the other server and what's missing from the above output is
Code:
Using http://download.blabla.com/cstrike/ as primary download location
__________________

[IMG]http://img188.**************/img188/5787/banner2rcw.png[/IMG]

Last edited by alexinno; 06-14-2013 at 06:49.
alexinno is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 06-14-2013 , 07:05   Re: HTTP Resources Manager
Reply With Quote #159

I don't see reference about HTTP URL. It should appear. And config has been parsed. Not sure what is the problem.

Will poster later a debug version of the module so we will able to see if there it's a problem with the module or not.
__________________
Arkshine is offline
alexinno
Senior Member
Join Date: Mar 2007
Location: C:\
Old 06-14-2013 , 07:38   Re: HTTP Resources Manager
Reply With Quote #160

ok , thanks for the quick response
__________________

[IMG]http://img188.**************/img188/5787/banner2rcw.png[/IMG]
alexinno is offline
Reply



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 21:09.


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