|
Title: shopmenu2 Post by: Bower on April 17, 2012, 03:34:41 AM Hi everybody,
I have a question I'd like to ask, if somebody could help me. Is there an english tutorial about the shopmenu2 items ? I've searched the forum and found nothing of the sort. I would like to know a brief description about the 5 items from the shopmenu2, what properties they have and how do diamonds are gain in the game. In the war3menu I didn't find any description, so I came to the source of the mod and hoped to find some or all the answers ;D Thanks in advance ! Best of luck ! Regs. Bower ! Title: Re: shopmenu2 Post by: .:.FK.:.DiGGaBoON.:. on April 22, 2012, 01:38:31 PM As far as I remember and if it wasn't changed:
Post Haste: 3% faster run/walk Trinket of Regeneration: reg 0.5HP/s Lifetube: reg 1HP/s Snake Bracelet: 5% evasion Fortified Bracers: +10 HP Diamonds are rewarded 1 per minute of playing. Title: Re: shopmenu2 Post by: Chuck on April 23, 2012, 12:42:00 AM wondering if anyone can help me that to make it vip only allow to use it example in sourceban admin VIP is set letter t! if soemone can! i'm willing to pay $5
Title: Re: shopmenu2 Post by: Revan on April 23, 2012, 12:55:45 AM Aren't there shopmenu2 accessflags ?
Title: Re: shopmenu2 Post by: Chuck on April 23, 2012, 04:37:38 PM Nope!
Title: Re: shopmenu2 Post by: Revan on April 24, 2012, 05:09:55 AM Grab new Engine MenuShopmenu2 from SVN (http://ownageclan.com/svn/war3source/War3Source_Engine_MenuShopmenu2.sp)
see line 9 there should be a #define just uncomment this, set your desired flag and recompile ADMFLAG_CUSTOM6 should be "t" (I think) Title: Re: shopmenu2 Post by: iceman on April 24, 2012, 03:44:46 PM Nice :) this anything to worry about?
//SourceMod Batch Compiler // by the SourceMod Dev Team //// War3Source_Engine_MenuShopmenu2.sp // C:\Users\Admin\Documents\scriptingSMX\war3source.r708\War3Source_Engine_MenuS hopmenu2.sp(34) : warning 213: tag mismatch // C:\Users\Admin\Documents\scriptingSMX\war3source.r708\War3Source_Engine_MenuS hopmenu2.sp(140) : warning 213: tag mismatch // Header size: 4956 bytes // Code size: 21484 bytes // Data size: 8124 bytes // Stack/heap size: 16384 bytes; Total requirements: 50948 bytes // // 2 Warnings. // // Compilation Time: 0.73 sec // ---------------------------------------- Press enter to exit ... Title: Re: shopmenu2 Post by: Revan on April 24, 2012, 11:37:31 PM Seems like you have used a wrong flag, Show what you entered
Title: Re: shopmenu2 Post by: iceman on April 25, 2012, 04:48:46 AM derp i was looking at access levels nvm.
Title: Re: shopmenu2 Post by: Chuck on May 09, 2012, 06:16:55 PM does it work if it running with sourcebans? somehow it doesnt work when player using "t" but if you have root acess then it works.... all i did is uncomment the admin custom6....
Title: Re: shopmenu2 Post by: -El Diablo on May 21, 2012, 01:28:02 PM does it work if it running with sourcebans? somehow it doesnt work when player using "t" but if you have root acess then it works.... all i did is uncomment the admin custom6.... change //#define SHOPMENU2_FLAG ADMFLAG_ROOT to this: #define SHOPMENU2_FLAG ADMFLAG_CUSTOM6 on line 9. That should work for "t" flags. I've not tried this yet, because im at work, but you could try changing the line to look like this for those whom have flag "a": #define SHOPMENU2_FLAG ADMFLAG_RESERVATION Admins with the flag "a" should be allowed to use it. Here are other ADMFLAG: #define ADMFLAG_RESERVATION (1<<0) #define ADMFLAG_GENERIC (1<<1) #define ADMFLAG_KICK (1<<2) #define ADMFLAG_BAN (1<<3) #define ADMFLAG_UNBAN (1<<4) #define ADMFLAG_SLAY (1<<5) #define ADMFLAG_CHANGEMAP (1<<6) #define ADMFLAG_CONVARS (1<<7) #define ADMFLAG_CONFIG (1<<8) #define ADMFLAG_CHAT (1<<9) #define ADMFLAG_VOTE (1<<10) #define ADMFLAG_PASSWORD (1<<11) #define ADMFLAG_RCON (1<<12) #define ADMFLAG_CHEATS (1<<13) #define ADMFLAG_ROOT (1<<14) #define ADMFLAG_CUSTOM1 (1<<15) #define ADMFLAG_CUSTOM2 (1<<16) #define ADMFLAG_CUSTOM3 (1<<17) #define ADMFLAG_CUSTOM4 (1<<18) #define ADMFLAG_CUSTOM5 (1<<19) #define ADMFLAG_CUSTOM6 (1<<20) #define INVALID_GROUP_ID -1 You can find this information on the webpage: http://docs.sourcemod.net/dox/_i_admin_system_8h.html Also what is helpful: Levels First, let's quickly run down the provided levels: Name Flag Purpose reservation a Reserved slot access. generic b Generic admin; required for admins. kick c Kick other players. ban d Ban other players. unban e Remove bans. slay f Slay/harm other players. changemap g Change the map or major gameplay features. cvar h Change most cvars. config i Execute config files. chat j Special chat privileges. vote k Start or create votes. password l Set a password on the server. rcon m Use RCON commands. cheats n Change sv_cheats or use cheating commands. root z Magically enables all flags. custom1 o Custom Group 1. custom2 p Custom Group 2. custom3 q Custom Group 3. custom4 r Custom Group 4. custom5 s Custom Group 5. custom6 t Custom Group 6. From webpage: http://wiki.alliedmods.net/Adding_Admins_(SourceMod) If you need flag "t" and your sure that is what you need, then this should be on line 9: #define SHOPMENU2_FLAG ADMFLAG_CUSTOM6 Hope I didn't confuse you. Hope this helps. Title: Re: shopmenu2 Post by: Revan on May 21, 2012, 02:10:25 PM We could just add a cvar with flag string support, I've made that preprocessor crap just because I was in rush and thought that isn't used much
Title: Re: shopmenu2 Post by: iceman on May 27, 2012, 10:39:48 AM We could just add a cvar with flag string support, I've made that preprocessor crap just because I was in rush and thought that isn't used much Please one less thing to remember when updating. |