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

Model Menu


Post New Thread Reply   
 
Thread Tools Display Modes
MoggieX
Veteran Member
Join Date: Aug 2007
Location: n00bville
Old 07-25-2008 , 08:35   Re: Model Menu
Reply With Quote #201

For us, it works on SM Version 1.0.2, but in SM Version 1.0.3 it fails, not tried the newer version pRED* posted a page or so back

Matt
__________________

Last edited by MoggieX; 07-25-2008 at 08:36. Reason: nub cakes are delicious
MoggieX is offline
Send a message via Skype™ to MoggieX
bzz0
Senior Member
Join Date: Oct 2005
Location: Latvia, Riga
Old 07-25-2008 , 10:38   Re: Model Menu
Reply With Quote #202

Hmm... Cause I am thinking of using this plugin, but do not want to start (too many things to do) if it has some minor bugs.
__________________
Let's make it better
bzz0 is offline
TFN|Nick
Senior Member
Join Date: Sep 2007
Old 07-25-2008 , 14:21   Re: Model Menu
Reply With Quote #203

f64 has some valid points... been using this tonight and found the same bugs as reported in his post.

Also, looking through the code, the BuildPath() keeps on looking to the data folder for KV's, "data/playermodels.ini" instead of "config/models.ini". I'm not sure if it is supposed to be like this, but if it is it could cause a problem when updating the models >.>

The worst bit is the teams though...
TFN|Nick is offline
Send a message via MSN to TFN|Nick
Stinkyfax
BANNED
Join Date: Aug 2007
Old 07-25-2008 , 15:02   Re: Model Menu
Reply With Quote #204

A bit buggy.
Stinkyfax is offline
bzz0
Senior Member
Join Date: Oct 2005
Location: Latvia, Riga
Old 07-25-2008 , 15:13   Re: Model Menu
Reply With Quote #205

Quote:
Originally Posted by TFN|Nick View Post
Also, looking through the code, the BuildPath() keeps on looking to the data folder for KV's, "data/playermodels.ini" instead of "config/models.ini".
Minor bug I think!
__________________
Let's make it better
bzz0 is offline
TFN|Nick
Senior Member
Join Date: Sep 2007
Old 07-25-2008 , 17:59   Re: Model Menu
Reply With Quote #206

Okay, done some more testing... worked out what the problem is!

The path "data/playermodels.ini" is used to store who has used what models. The problem is that when you run the /models command it is running the force menu instead.
TFN|Nick is offline
Send a message via MSN to TFN|Nick
pRED*
Join Date: Dec 2006
Old 07-25-2008 , 18:24   Re: Model Menu
Reply With Quote #207

Maybe?
Attached Files
File Type: sp Get Plugin or Get Source (ModelMenu.sp - 679 views - 10.9 KB)
pRED* is offline
TFN|Nick
Senior Member
Join Date: Sep 2007
Old 07-26-2008 , 12:17   Re: Model Menu
Reply With Quote #208

Tried it again... fresh from a server restart. I got the 'Ts' 'CTs' bit, then no more, which is the same error I had with the last version. I'm running 1.0.2, and theres no errors being reported by it.
TFN|Nick is offline
Send a message via MSN to TFN|Nick
f64
Member
Join Date: Jun 2007
Location: Houston, TX USA
Old 07-27-2008 , 00:38   Re: Model Menu
Reply With Quote #209

The auth for choosing models is better now with the plugin version on page 20, however, there still are some issues:

1. sm_forcemodel will keep the data even after dying or disconnecting, or team switching, etc. It should work like fun commands.
The forcemenu sub menu should be titled Force a Model (easy fix) instead of Choose a Model, just for safety. It also displays (1.None)as the first selection.

2. Although they cannot select them anymore, non admins can still view the Admin only models as a possible selection in the main menu.
Can you auth and send to a diff menu from the same command?
Maybe read from admin_models.ini (admin=true ) and public_models.ini (admin=false)?

edit: I see now that 1.None in the forcemenu refers to the Default Model for that team.
__________________
Game: DOD:S

Last edited by f64; 07-27-2008 at 04:23.
f64 is offline
bzz0
Senior Member
Join Date: Oct 2005
Location: Latvia, Riga
Old 07-31-2008 , 12:59   Re: Model Menu
Reply With Quote #210

Such a good plugin... pRED* can you update it It is must have plugin!
__________________
Let's make it better
bzz0 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 02:28.


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