rejetto forum

Event scripts!

rejetto · 38 · 31167

0 Members and 1 Guest are viewing this topic.

Offline AYEHAN

  • Occasional poster
  • *
    • Posts: 92
    • View Profile
i was wondering  if i can post a message on webpage if someone tried to download a file that is already downloading by 3 persons at the momemnt...

"MaX Simultaneous Connection Reached ... Try Again Later"


any idea guyz?


Offline Mars

  • Operator
  • Tireless poster
  • *****
    • Posts: 2059
    • View Profile
For the attention of rejetto for the build next(no comment necessary)

Quote
procedure TmainFrm.FormKeyDown(Sender: TObject; var Key: Word;
  Shift: TShiftState);
begin
altPressedForMenu:=(key = 18) and (shift = [ssAlt]);

if shift = [] then
  case key of
    VK_F4: toggleServer();
    VK_F5: setEasyMode(not easyMode);
    VK_F6: Edit1Click(sender);
    VK_F10: popupMainMenu();
    end;
if shift =[ssShift] then
    case key of
    VK_F6: Editeventscripts1Click(sender);
    end;

if shift = [ssCtrl] then
   case key of
     ord('O'): Loadfilesystem1Click(sender);
    ord('S'): saveVFS();
    end;
end;


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
i was wondering  if i can post a message on webpage if someone tried to download a file that is already downloading by 3 persons at the momemnt...
"MaX Simultaneous Connection Reached ... Try Again Later"
any idea guyz?

not in-topic
menu -> limits -> max simultaneous addresses downloading


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
if shift =[ssShift] then
    case key of
    VK_F6: Editeventscripts1Click(sender);
    end;


accepted.
But i will use Alt instead of Shift. I guess that's a more appropriate modifier, since Alt stands for "alternative".
If you have reasons to think Alt is the wrong key, let me know.


Offline Mars

  • Operator
  • Tireless poster
  • *****
    • Posts: 2059
    • View Profile
ALT is generaly for  &Alternate &Quit .....

Sometime SHIFT is use to reverse an action  F3 (next search) or Shift+F3 (previous search)

some external softwares running on background have to use some combinaison ALT+Key, then SHIFT was a choice in this sens.


Offline Fysack

  • Tireless poster
  • ****
    • Posts: 598
  • present picture
    • View Profile
    • Admin
MERDE! ;D ok, i must confess, there have been 6 months since i read the wiki from page to page. Its good, its great, its.. it can kick my ass. Twice`n`dobble ::) GREAT :-*
It is the grateful passage of the book that is my preferred :D ;D
Mine too  ;)
finding something in a big pool is hard most of the times, a serious problem.
That is so well spoken rejetto, im gonna copy that one into my signature. How do you find the ease, the chill, the way? Do you smoke cigarettes? lol, just kidding
ALT is generaly for  &Alternate &Quit .....
Sometime SHIFT is use to reverse an action  F3 (next search) or Shift+F3 (previous search)
some external softwares running on background have to use some combinaison ALT+Key, then SHIFT was a choice in this sens.
I know that too, if i dig deep down (except from the &Quit;) you are fast, sharp and smart mars, one could almost belive you where from an other planet  ;) :)

PS! That Paul Van Dyk "consert" sucked old long cocks. Not poor Paul`s(was great) fault , but the motherfuckingamatures of motherfuckingmastersofarrangement. BLÆ! The fu**ing speedfreaks guards fu**ing asked me, if i needed some fu**ing air!? LoL Hehe Poor bastards....

That made me think of.. ehh... you know.... ehhh.... that dude.. ehh...  hmm.. that eh.. you know that guy.. this.. he`s  that eh steven ehh s GUY! That_Stevens_Guy!  ;D ;D ROFL that shit always make me laugh ;D

Yea! That_Stevens_Guy. Do you hear me!?!  ;) So what is keeping you bussy. Pussy or school. hehe
Yea my point. Have you heard about The Butterfly Effect  :D They have the same producer as Karnivool, did YOU know that?  :-*

01-the_butterfly_effect-worlds_on_fire.mp3

armin_van_buuren-armin_only_imagine_(jaarbeurs_utrecht_19-04-08)-x264-nl-2008-mv4u.mkv FTW

Love
GOD CAN READ YOUR MIND


Offline Fysack

  • Tireless poster
  • ****
    • Posts: 598
  • present picture
    • View Profile
    • Admin
it`s Bungle rejetto, cloOooose  :'( :)
GOD CAN READ YOUR MIND


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
i must confess, there have been 6 months since i read the wiki from page to page.

i would never expect someone to read it all !
it's a reference, and a knowledge base, for future generations, when they'll surf the net by using the sole mind. They'll find this wiki and say: what's this shit meant to be?


Offline Fysack

  • Tireless poster
  • ****
    • Posts: 598
  • present picture
    • View Profile
    • Admin

Offline Mars

  • Operator
  • Tireless poster
  • *****
    • Posts: 2059
    • View Profile

Offline TCube

  • Tireless poster
  • ****
    • Posts: 440
    • View Profile
[ They'll find this wiki and say: what's this shit meant to be?

They should put the "question to the Oracle" ... but I think this fora's help feature is now gone (?)
Make it idiot-proof and I will make a better idiot


Offline Fysack

  • Tireless poster
  • ****
    • Posts: 598
  • present picture
    • View Profile
    • Admin

Offline Giant Eagle

  • Tireless poster
  • ****
    • Posts: 535
  • >=3 RAWR!
    • View Profile
    • RAWR-Designs.com
Hey all! Yep, im still alive :P

These events really catched my interest! Especially the [upload completed] one. I was thinking to link it to the latest thumbnail generator im developing.

Anyway, i came across a probmen (or bug?) %item-name% does not resolve into the name of the file that has been uploaded in build 209. (%item-ext% does not work either) Also, how can i retrieve the real path on the computer itself?

If the user has uploaded multiple files, could there be a way to gather all the uploaded file names so the thumbnail generator only has to get fired once to convert multiple images? If yes, how?
« Last Edit: October 21, 2008, 02:20:24 PM by Giant Eagle »


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
don't you need %item-resource% instead?

If the user has uploaded multiple files, could there be a way to gather all the uploaded file names so the thumbnail generator only has to get fired once to convert multiple images? If yes, how?

i will work on it


Offline Giant Eagle

  • Tireless poster
  • ****
    • Posts: 535
  • >=3 RAWR!
    • View Profile
    • RAWR-Designs.com
don't you need %item-resource% instead?

That is not working either, but yes, it would be great.

If the user has uploaded multiple files, could there be a way to gather all the uploaded file names so the thumbnail generator only has to get fired once to convert multiple images? If yes, how?

i will work on it

Thank you