Raised This Month: $ Target: $400
 0% 

Slow scripting


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Diegorkable
Veteran Member
Join Date: Jun 2011
Old 06-17-2012 , 10:39   Slow scripting
Reply With Quote #1

Hey guys. Once my plugins becomes too long, for example plugin having a 5k line, suddenly the writing of the plugin is really slow with a delay. I press a button and it appears only after 1 second and sometimes it appears after 0.2 seconds or something around that.

What can I do to make it faster beside writing the codes in another .sma tab?

( I am talking about AMX Studio if you are confused )
__________________
My Projects:

Auto-Mix (Pug): 100%

Joined the Military (a soldier now) - Inactive
Diegorkable is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 06-17-2012 , 10:39   Re: Slow scripting
Reply With Quote #2

Have you tried arkshine npp edition ?
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Diegorkable
Veteran Member
Join Date: Jun 2011
Old 06-17-2012 , 11:09   Re: Slow scripting
Reply With Quote #3

Quote:
Originally Posted by ConnorMcLeod View Post
Have you tried arkshine npp edition ?
notepad++? =\
The thing I like about AMX Studio is that when you type the function it gives you params details, so you dont have to look at the AMX wiki everytime you forget, also it has its generator ( which i dont use often but w/e).

And what do you mean arkshine edition? Got any link?
__________________
My Projects:

Auto-Mix (Pug): 100%

Joined the Military (a soldier now) - Inactive
Diegorkable is offline
Backstabnoob
BANNED
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 06-17-2012 , 11:13   Re: Slow scripting
Reply With Quote #4

Quote:
The thing I like about AMX Studio is that when you type the function it gives you params details, so you dont have to look at the AMX wiki everytime you forget, also it has its generator ( which i dont use often but w/e).
That's why it lags. Since AMXX studio cycles through everything in the code in the autocompletion (be it functions, variables, constants etc), it lags once your code is big enough. Disabling it when the code starts to lag will help.
Backstabnoob is offline
Diegorkable
Veteran Member
Join Date: Jun 2011
Old 06-17-2012 , 11:22   Re: Slow scripting
Reply With Quote #5

@Backstabnoob - Thanks, now I got it why it lags.
@Connor - Nevermind I found his Npp edition, will try it. thanks!

EDIT - Look at something wierd, I installed his npp program, and when I copy paste my 6k lines plugin, it isn't responding no more ;p
what should I do?

EDIT 2 - Nvm its working now.

EDIT 3 - His edition is really great. It isn't lagging at all and still got the params details window thing and auto-completion! Gonna definitely use it, thanks connor.

EDIT 4 - Listen.. it has a crashing problems. I write the code and suddenly the program doesnt respond. I lost all the what I was writing...
__________________
My Projects:

Auto-Mix (Pug): 100%

Joined the Military (a soldier now) - Inactive

Last edited by Diegorkable; 06-17-2012 at 11:53.
Diegorkable is offline
Waleed
Senior Member
Join Date: May 2012
Location: Pakistan
Old 06-17-2012 , 12:06   Re: Slow scripting
Reply With Quote #6

5K lines means 5000 line plugin? O_O
__________________
Working On:
  1. Gameplay 1 - 0% [PAUSED]
Waleed is offline
Send a message via Skype™ to Waleed
Aooka
Veteran Member
Join Date: Aug 2011
Location: Villeurbanne
Old 06-17-2012 , 12:07   Re: Slow scripting
Reply With Quote #7

I think yes lol
__________________
Pawn ? Useless
Aooka is offline
Diegorkable
Veteran Member
Join Date: Jun 2011
Old 06-17-2012 , 12:28   Re: Slow scripting
Reply With Quote #8

Quote:
Originally Posted by Waleed View Post
5K lines means 5000 line plugin? O_O
Yes, but mine is 6k. I'm trying to get a comfortable editor for not lagging while writing the code. I guess I'll use the normal NPP afterall, with the C++ syntax, its the best I can find for now.
__________________
My Projects:

Auto-Mix (Pug): 100%

Joined the Military (a soldier now) - Inactive
Diegorkable is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 06-17-2012 , 12:30   Re: Slow scripting
Reply With Quote #9

Quote:
Originally Posted by Diegorkable View Post
EDIT 4 - Listen.. it has a crashing problems. I write the code and suddenly the program doesnt respond. I lost all the what I was writing...
What do you mean by "I write the code"??? If you are having issues with copy/pasting 5k lines then you should just open the file with npp . . .

If you still have issues then I would recommend that you install the original npp to see if it is specific to Arkshine's custom version. I've never used his version before but I do use the official version.
__________________
fysiks is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 06-17-2012 , 12:51   Re: Slow scripting
Reply With Quote #10

Arkshine's edition has PAWN language integrated, and auto completion.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod 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 06:12.


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