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

DeFRAG [1.0 OUT] // News to come soon!


Post New Thread Reply   
 
Thread Tools Display Modes
DarkGod
SourceMod DarkCrab
Join Date: Jul 2007
Location: Sweden
Old 03-17-2009 , 16:28   Re: DeFRAG
Reply With Quote #11

Take a look at this plugin.
__________________
DarkGod is offline
Send a message via AIM to DarkGod Send a message via MSN to DarkGod
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 03-17-2009 , 16:48   Re: DeFRAG
Reply With Quote #12

If you borrow someone's code, you could give him credit.
I've recognized skyjur semiclip, arkshine sprint plugin code, and my bhop code.

You should add conc gun plugin code.
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 03-17-2009 at 16:53.
ConnorMcLeod is offline
bomnacama
Senior Member
Join Date: Dec 2008
Location: Portugal
Old 03-17-2009 , 20:31   Re: DeFRAG
Reply With Quote #13

its realy fun to play

when I execute svdefrag.cfg:


Unknown command: bm_telefrags
Unknown command: bm_teleportsound
Unknown command: sv_maxcmdrate

you should put the svdefrag.cfg commands in the plugin
__________________



Please FEED MY HAMSTERS by giving me +karma
bomnacama is offline
khios
Junior Member
Join Date: Mar 2009
Location: Belgium
Old 03-17-2009 , 20:42   Re: DeFRAG
Reply With Quote #14

Quote:
Originally Posted by bomnacama View Post
its realy fun to play

when I execute svdefrag.cfg:


Unknown command: bm_telefrags
Unknown command: bm_teleportsound
Unknown command: sv_maxcmdrate

you should put the svdefrag.cfg commands in the plugin
Forget about those... it's blockmaker command

Check out the new version and make sure to use the "scout"! Lot of fun with it =D Will do map tomorrow

Last edited by khios; 03-17-2009 at 20:46.
khios is offline
Send a message via MSN to khios Send a message via Skype™ to khios
bomnacama
Senior Member
Join Date: Dec 2008
Location: Portugal
Old 03-17-2009 , 21:31   Re: DeFRAG
Reply With Quote #15

tryied the new version, Scout power!! I did the map in backwards only with scout

great plugin
__________________



Please FEED MY HAMSTERS by giving me +karma
bomnacama is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-17-2009 , 22:06   Re: DeFRAG
Reply With Quote #16

register_plugin(PLUGIN, VERSION, AUTHOR)
register_plugin("Scout Conc", "0.1", "Emp`");

-_-" ; 2 times register_plugin().

Please, if you integrate existent code from another plugin, don't copy-paste exactly as it. Think, rearrange, rename, use your own style. There are things it should not integrated.
Arkshine is offline
khios
Junior Member
Join Date: Mar 2009
Location: Belgium
Old 03-18-2009 , 04:35   Re: DeFRAG
Reply With Quote #17

It was late when I putted the scout code in the plugin! Thx for the advice Now I will begin the own code and try to get rid of that annoying <cstrike>

stay tuned
khios is offline
Send a message via MSN to khios Send a message via Skype™ to khios
bomnacama
Senior Member
Join Date: Dec 2008
Location: Portugal
Old 03-18-2009 , 07:41   Re: DeFRAG [NEW VERSION OUT!!]
Reply With Quote #18

tested new version.
is better to have a boost with the scout than with the awp.
you could add fast shot to it.
and you could add multijump, so when you press JUMP twice, you will have a litle boost
__________________



Please FEED MY HAMSTERS by giving me +karma
bomnacama is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 03-18-2009 , 09:52   Re: DeFRAG [NEW VERSION OUT!!]
Reply With Quote #19

You need to put a description of what the plugin does in the first post, currently, there is no description.
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Nextra
Veteran Member
Join Date: Apr 2008
Location: Germany
Old 03-18-2009 , 18:07   Re: DeFRAG
Reply With Quote #20

Quote:
Originally Posted by arkshine View Post
Please, if you integrate existent code from another plugin, don't copy-paste exactly as it. Think, rearrange, rename, use your own style. There are things it should not integrated.
This.

There are currently more than 3 different identation styles in your plugin. You should really take some time to work on the code instead of just pasting everything into one file. I did not look through the entire code but I bet there are enough things that can be done better easily.

Few things I noticed:
- You should put global constants and defines at the top of the file..
- You do not use g_bAlive in the whole code. You want to use a global variable so do not use is_user_alive anymore. Thats an example copy and paste fails and you should review the code.
- There are two register_forward for each post and prethink, one of each without the required function wich will cause errors in plugin_init, often preventing it from executing following code.
- Again, fix your identation and use one (read: your) style accross the whole plugin.

regards.
__________________
In Flames we trust!

Last edited by Nextra; 03-18-2009 at 18:17.
Nextra 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 11:43.


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