Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - SSH

#5141
General Discussion / Is this for real?
Tue 02/09/2003 11:51:14
Here's a spam I got recently that escaped SpamAssassin's clutches, but it's the funniest Spam I got ever. I don't want to risk visiting their site in case of the normal spy/malware but does anyone know if this is for real?

Quote
Welcome to the site http://www.darkprofits.com, it's us again, now we extended our offerings,
here is a list:

1. Heroin, in liquid and crystal form.

2. Rocket fuel and Tomohawk rockets (serious enquiries only).

3. Other rockets (Air-to-Air), orders in batches of 10.

4. New shipment of cocaine has arrived, buy 9 grams and get 10th for free.

5. We also offer gay-slaves for sale, we offer only such service on the NET,
you can choose the one you like, then get straight to business.

6. Fake currencies, such as Euros and US dollars, prices would match competition.

7. Also, as always, we offer widest range of child pornography and exclusive lolita
galleries, to keep out clients busy.

Everyone is welcome, be it in States or any other place worldwide.

ATTENTION. Clearance offer. Buy 30 grams of heroin, get 5 free.
Prepay your batch of rockets (air-to-air) and recieve a portable rocket-lacuncher
for free.

http://www.darkprofits.com

This offer won't last! Only until 20th of August all our clients will also recieve ...
#5142
Quotes
#5143
General Discussion / Re:My scanner won't work!
Mon 01/09/2003 17:10:59
I had a similar problem with my scanner for ages. Then I reliased that it's power cable wasn't plugged in
#5144
Quote from: La Lore on Mon 01/09/2003 16:48:19
I haven´t met M0ds, I just listen him once by telephone :)
Couldn't get a word in edgeways, eh?  ;)

Obviousamente, mi hija habla español tambien, pero no save muchos palabras (e.g. babababbababba y aaaaaahahhahahahh).  Intentando enseñarle esta frase: "Papa tiene siempre razon", pero Marian (mi esposa) no se gusta..  :-\
#5145
AH, I see.

Well, one possibility is to let it drop out of the dialog completely, having set some global variable and then check that global variable after you call the original dialog.

Is that clear?

e.g.

RunDialog(1); // this is your dialog which calls the run-script 2
if (GetGlobalInt(77)==1) {
RunDialog(9);
} else if (GetGlobalInt(77)==2) {
RunDialog(10);
}

and then your dialog_request has:
SetGlobalInt(77, whatever_is_appropriate);
StopDialog();

Although this is pretty unwieldy!


Alterntaively, merge your two alternative dialogs into one and then use your run-script to turn off the wrong set of options and turn on the correct ones...?
#5146
Quote from: Babloyi on Mon 01/09/2003 13:16:27
I used run-script 2 in one of my dialogs. In the script I called another dialog with Run-dialog 11.

Is that the last thing in the script? WHy not just let it return to the dialog script and do an:

goto-dialog 11

straight after your run-script 2


#5147
Teh Quake 3 !!!1!1!111
#5148
Hola La Lore,

Bienvenido a AGS, el mejor sistema de juegos de adventura del mundo... hablo un poco de espanol, y mi esposa es espanola.

Mi consejo es subsistencia lejos de m0ds y de DGMacphee: ¡son apuro! ;D

Ay va la leche!
#5149
CJ,

If the help file is the only source, do you have an uncompiled version that I can parse to strip them out, please?

Cheers,
#5150
SO that all can benefit, I'll put the response here:

OK, assuming that static is ocrrect about there being a 30-char-or-so limit on hotspot names, we can use the new properties feature of AGS 2.56 to worka round this.

First, you need to set up a string property on all your hotspots with the name you want to display. Secondly, you can no-longer use the @OVERHOTSPOT@ text in your dialog. You need to script things up with:

1. Get the GUI number and object number of your textbox where you want the info to appear
2. Add this into your repeatedly_execute:
SetTextBoxText(guino, objno,  GetHotspotPropertyText(GetHotspotAt(mouse.x,mouse.y)));
3. If you want this to work with objects and characters too, you'll need somehting like this, substituting GetHotspot with GetCharcter/Object, etc.

if (GetLocationType(mouse.x,mouse.y)==1) {
 // hotspot
} else if (GetLocationType(mouse.x,mouse.y)==2) {
 // character
} else if (GetLocationType(mouse.x,mouse.y)==3) {
// object
}

Hope this helps!
#5151
ObjectOn?

Also, make sure that the baselines are set correctly for wardrobe and your new object
#5152
However, the AnimateObject function isn't blocking. So, if you want that move to happen after the first two object animations are complete, then you need to use AnimateObjectEx with the blocking parameter set to 1.
#5153
For those of us who find it helpful to dump everything in a file sometimes and edit it outside AGS, would anyone else appreciate an emacs mode for AGS editing? Emacs is an editor, for the ignorant amongst you. :P ANy suggestions for features?

On a related note, does CJ or anyone else have a text file list of all Script  Keywords and Built-in functions that I can have? Maybe CJ could include this with all main releases as an extra download? This would let me do syntax highlighting more easily.

Finally, the function name completion is great in the built-in editor, I just wish it wouldn't do it when editing dialogs, too. Grrr. :P
#5154
* SSH increases Captain Mostly's medication
#5155
General Discussion / Re:World Events
Thu 28/08/2003 17:19:11
All that is required for evil to prevail is that good people do nothing.
#5156
You could put something in the global repeatedly_execute:

if (GetLocationType(mouse.x,mouse.y)==1) {
   SetCursorMode (your_hotspot_cursor_no_here);
} else {
   SetCursorMode (your_normal_cursor_here);
}

or you could even do more whizzy stuff with

GetHotspotProperty(GetHotspotAt(mouse.x,mouse.y))
and
GetObjectAt and GetCharacterAt, etc..
#5158
Why not get CJ to set up some referral thingies so that whenever we buy from Amazon, etc. he gets 2p or whatever their rate is... I'd do it!
#5159
You need to make sure that you don't place the player in the new room on top of a change room hotspot: otherwise they may instantly come back to where they came from. You can work around this by using regions instead of hotspots and a global integer which is set on entering a room and cleared by walking off a region and then only do the change room interactions if the global int is cleared...
#5160
What are you using it for? You may be able to use the new "properties" feature of AGS 2.56 to have a long striung associated with an object when it is officially released (any day now) or get the pre-release version off the sticky post in the Tech Forum.
SMF spam blocked by CleanTalk