Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, RealSerious3D, chsmac85), 980 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 4 1 2 3 4
Re: Online Jewel Drop + Highscore [Re: MichaelGale] #289860
09/15/09 22:22
09/15/09 22:22
Joined: Feb 2009
Posts: 2,154
Damocles_ Offline OP
Expert
Damocles_  Offline OP
Expert

Joined: Feb 2009
Posts: 2,154
The game was just a falloff actually.
I was looking today for one of my old games to use for this
Highscore. Trying to lean php right now.

---

A more advanced way would be to let the player first create
an online "player Account". (a simple one directly in the game,
without email or such)

Then I could directly clean out wrong inputs.

The submitted data can also be analysed with a more
advanced key.
For example by submitting a key to the account at startup,
then using this key to generate a checkkey.

I did not test if the HTTP plugin runs in Lite-C.
Where it is saver to implement.

Re: Online Jewel Drop + Highscore [Re: Damocles_] #289877
09/16/09 02:17
09/16/09 02:17
Joined: Apr 2008
Posts: 91
Canada
DC9 Offline
Junior Member
DC9  Offline
Junior Member

Joined: Apr 2008
Posts: 91
Canada
Nice job Damocles. Scores are posted without any issue. The game is pretty cool too.


DC9
Re: Online Jewel Drop + Highscore [Re: DC9] #290043
09/16/09 22:48
09/16/09 22:48
Joined: Feb 2009
Posts: 2,154
Damocles_ Offline OP
Expert
Damocles_  Offline OP
Expert

Joined: Feb 2009
Posts: 2,154
Chris obviously wants someone to beat his score wink

Re: Online Jewel Drop + Highscore [Re: Damocles_] #290093
09/17/09 09:19
09/17/09 09:19
Joined: Oct 2004
Posts: 4,134
Netherlands
Joozey Offline
Expert
Joozey  Offline
Expert

Joined: Oct 2004
Posts: 4,134
Netherlands
Haha, well I came close yesterday.


Click and join the 3dgs irc community!
Room: #3dgs
Re: Online Jewel Drop + Highscore [Re: Joozey] #290095
09/17/09 09:34
09/17/09 09:34
Joined: Feb 2009
Posts: 2,154
Damocles_ Offline OP
Expert
Damocles_  Offline OP
Expert

Joined: Feb 2009
Posts: 2,154
Yes, ists kind of hard to reach 20.000 wink
I can only get up to 11.000

good to see that the highscore runs without a problem over
several days.


BTW: placing the bonus-stones is a it buggy.
Dont drag the stones, click them to pick them up, then place
them.
Dragging them would insert them in the first field, the cursor touches.

Online Jewel Drop + Highscore + GSTNet [Re: Damocles_] #301612
12/12/09 00:05
12/12/09 00:05
Joined: Jun 2001
Posts: 1,004
Dossenbach
N
nfs42 Offline
Serious User
nfs42  Offline
Serious User
N

Joined: Jun 2001
Posts: 1,004
Dossenbach
Hi Damocles,
I've finally converted your game to GSTNet.
There were some bugs with redirecting pages. But they are fixed in GSTNet 0.7.6.
Download JewelDrop - GSTNET

BTW: A nice game, but I can't get over 14000. Damn...


Andreas
GSTools - Home of
GSTScript 0.9.8: lua scripting for A6/7/8
GSTNet 0.7.9.20: network plugin for A6/7/8
GSTsqlite 1.3.7: sql database plugin for A6/7/8
3DGS Codebase: 57 snippets || 3DGS Downloads: 248 files
Re: Online Jewel Drop + Highscore + GSTNet [Re: nfs42] #305541
01/15/10 13:11
01/15/10 13:11
Joined: Feb 2009
Posts: 2,154
Damocles_ Offline OP
Expert
Damocles_  Offline OP
Expert

Joined: Feb 2009
Posts: 2,154
Oh, I see this this late, was away at that time.

Thanks for the conversion.

Re: Online Jewel Drop + Highscore + GSTNet [Re: Damocles_] #309980
02/12/10 13:22
02/12/10 13:22
Joined: Jan 2010
Posts: 112
Robso661 Offline
Member
Robso661  Offline
Member

Joined: Jan 2010
Posts: 112
Hallo,
muss schon sagen, dass Spiel ist echt gut. Habe aber eine Frage hierzu:

//austauschen eines Steines - Bonussteine
function change_stone(posx,posy,steintyp)
{
var feldposition;
feldposition=(10*posy)+posx;
temp_stone=ptr_for_handle(spielfeld[feldposition]);

temp_stone.s_destroyed=1;
spielfeld[feldposition]=0;

//neuen erstellen

temp.x=posx*64;
temp.y=0;
temp.z=posy*64;


if(steintyp==1)
{temp_stone=ent_create("smarakt.mdl",temp.x,edelstein);}
if(steintyp==2)
{temp_stone=ent_create("ametyst.mdl",temp.x,edelstein);}
if(steintyp==3)
{temp_stone=ent_create("smarakt_gelb.mdl",temp.x,edelstein);}
if(steintyp==4)
{temp_stone=ent_create("diamond.mdl",temp.x,diamant);}
if(steintyp==5)
{temp_stone=ent_create("ametyst_lila.mdl",temp.x,edelstein);}


temp_stone.s_grid_x=posx;
temp_stone.s_grid_y=posy;


temp_stone.s_stein_typ=steintyp;

temp_stone.s_grid_drag_x=posx;
temp_stone.s_grid_drag_y=posy;

spielfeld[feldposition]=handle(temp_stone);

}

So kommt es in deinem Script vor und ich wollte fragen ob du es mir genauer erörterrn könntest. Also einmal erklären wie das funktioniert mit dem neu erstellen denn irgendwie weiß ich noch nicht wie das programm jetzt weiß, wo es einen neuen stein keiren soll...

lg
Robin


Ja, das Programmieren ist schwer und zerreißt einem manchmal den Kopf. Aber dran bleiben ist alles dann kommt man auch weiter.

http://www.youtube.com/user/ErweSpiele
Re: Online Jewel Drop + Highscore + GSTNet [Re: Robso661] #309987
02/12/10 14:12
02/12/10 14:12
Joined: Feb 2009
Posts: 2,154
Damocles_ Offline OP
Expert
Damocles_  Offline OP
Expert

Joined: Feb 2009
Posts: 2,154
Die funktion her mach folgendes:

finde den alten Stein in der Matrix
(der muß vorhanden sein, ansonsten gibts nen fehler)

finde ihne durch ermitteln der Feld-Position im Pointer-array.
Markiere ihn als zerstört (andere Funktion lässt ihn löschen)

und dann erzeuge einen neuen Stein, der gegebenen Farbe
und setze sein handle and die gleiche stelle im pointer-array.

die drag werte weiß ich jetzt nicht wozu die sind,

----

diese funktion hier ermittelt nicht die Position des
neuen Steins, sondern setzt ihn einfach gegeben der parameter.

Du mußt halt linear durch den code durchgehen, und schrittweise
anschauen was abläuft.
Dann verstehst du auch den code.

Re: Online Jewel Drop + Highscore + GSTNet [Re: Damocles_] #310044
02/12/10 19:30
02/12/10 19:30
Joined: Jan 2010
Posts: 112
Robso661 Offline
Member
Robso661  Offline
Member

Joined: Jan 2010
Posts: 112
danke mehr wollte ich garnicht wissen


Ja, das Programmieren ist schwer und zerreißt einem manchmal den Kopf. Aber dran bleiben ist alles dann kommt man auch weiter.

http://www.youtube.com/user/ErweSpiele
Page 2 of 4 1 2 3 4

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1