Raised This Month: $32 Target: $400
 8% 

Cannot continue without model


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
DjSoftero
Veteran Member
Join Date: Nov 2014
Location: Lithuania
Old 09-30-2017 , 04:19   Cannot continue without model
Reply With Quote #1

sooo, i get these in clients console when i try to connect
Spoiler


there is no way these models are broken. I added to the precache list default p_fiveseven model aswell. and it just got inside that retarded list.

sv_allowdownload/upload are set to 1 in both server and the client.

connection to mysql database is allright, i get all the values printed correctly. if i don`t have the model placed in the right folders i server crashes at start.
i use this to precache:
Spoiler


edit----
sooo... i tried using precache_generic and i can connect to the server, but files are still not downloaded. they are simply being skiped


Invalid file type...skipping download of models/headshot.lt/v_ak47_elite_build.md


edit-----
ok.... So I moved everything to /models folder and changed directory to it and it works now, but I would really like to know if there is a way to use my desired directory.
__________________
retired chump

Last edited by DjSoftero; 09-30-2017 at 04:31.
DjSoftero is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 09-30-2017 , 06:42   Re: Cannot continue without model
Reply With Quote #2

Check if the files located in the server folder and the download folder
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !


Last edited by Natsheh; 09-30-2017 at 06:46.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
DjSoftero
Veteran Member
Join Date: Nov 2014
Location: Lithuania
Old 09-30-2017 , 07:36   Re: Cannot continue without model
Reply With Quote #3

Quote:
Originally Posted by Natsheh View Post
Check if the files located in the server folder and the download folder
when the models were located in models/headshot.lt/ it didn`t work. then i moved it to models/ and everything just worked as intended. I would really like to have files all neat in private folder tho
__________________
retired chump
DjSoftero is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 09-30-2017 , 14:57   Re: Cannot continue without model
Reply With Quote #4

Quote:
Originally Posted by DjSoftero View Post
when the models were located in models/headshot.lt/ it didn`t work. then i moved it to models/ and everything just worked as intended. I would really like to have files all neat in private folder tho
can you debug what are you precaching by commenting the precaching native and do server_print... ?
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !


Last edited by Natsheh; 09-30-2017 at 14:58.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
DjSoftero
Veteran Member
Join Date: Nov 2014
Location: Lithuania
Old 10-01-2017 , 02:34   Re: Cannot continue without model
Reply With Quote #5

code used to precache
Spoiler


output from
PHP Code:
if(strlen(model_v[i]) > 7) {
                
formatex(tempcharsmax(temp), "models/%s"model_v[i])
                
log_amx(temp)
                
precache_generic(temp)
            } 
when working:
Spoiler


when broken:
Spoiler
__________________
retired chump

Last edited by DjSoftero; 10-01-2017 at 02:35.
DjSoftero is offline
D4rkSiD3Rs
Senior Member
Join Date: Jan 2018
Location: Morocco
Old 07-22-2020 , 16:46   Re: Cannot continue without model
Reply With Quote #6

I know it's an old topic, but this should help someone else.

The problem is on the "." in "headshot.lt", I had the same problem when using "~" in my resources folder, and none of the files inside that folder were precaching, I solved it by removing the "~" from the folder's name.

And yes, removing the "." in the folder's name will solve this problem.
__________________


D4rkSiD3Rs is offline
Reply


Thread Tools
Display Modes

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 07:40.


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