TowerDefence.net Forums
Home
Forum
Contact
Search
Go Back   Tower Defence Forums > Tower Defence Games > Online games > Gem Tower Defence

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old March 28th, 2008, 07:34 PM   #1
ThievingSix
Bolter Sentry
 
ThievingSix's Avatar
 
Join Date: Mar 2008
Posts: 167
ThievingSix is a normal user
Default Uberstone? Hard to get? Lies!

http://img411.imageshack.us/img411/4712/sandboxbf7.swf - No longer works!!!

Well I have heard an awful lot about the uberstone, not existing, being very hard, etc, etc.

Well I'll let everyone have the fun, in the above like is an edited sandbox that allows you to get an uberstone by combining two of any gem above flawed of the same type.

Have fun =P

Also to get one normally you do need to get 4 perfects that are the same.

Now, let's find out how this was done.

Code:
      
      110   getlex        	private::combineNum
      113   pushbyte      	4
      115   ifnge         	L5

      119   getlex        	private::selectedTower
      122   getproperty   	towerQuality
      125   pushbyte      	4
      127   ifeq          	L6

      131   getlex        	private::selectedTower
      134   pushstring    	"Uber Stone"
      137   setproperty   	towerName
      140   getlex        	private::selectedTower
      143   getlex        	private::selectedTower
      146   getproperty   	towerName
      149   callpropvoid  	changeTower (1)
      153   jump          	L7
That there is a part of the code for when you click "Combine Towers".

Let's break it down line by line.
Code:
      110   getlex        	private::combineNum
      113   pushbyte      	4
      115   ifnge         	L5
110 getlex private::combineNum
This gets the number of the amount same stone you just selected. So if you drew 2 flawless diamonds this would tell you that there are 2.

113 pushbyte 4
115 ifnge L5
Are there less than 4 of the same? If there aren't 4 it jumps to L5(normal combine)

Code:
      119   getlex        	private::selectedTower
      122   getproperty   	towerQuality
      125   pushbyte      	4
      127   ifeq          	L6
119 getlex private::selectedTower
122 getproperty towerQuality
This gets the selected towers quality(flawed, perfect, etc)
It returns a number from 1 to 5:
1 = Chipped
2 = Flawed
3 = Normal
4 = Flawless
5 = Perfect

127 ifeq L6
If it's equal(or less) it goes to another part(Normal Combine).

[CODE]
131 getlex private::selectedTower
134 pushstring "Uber Stone"
137 setproperty towerName
140 getlex private::selectedTower
143 getlex private::selectedTower
146 getproperty towerName
149 callpropvoid changeTower (1)
Here's the main part, if we have 4 perfect same towers we get to here(I don't think I need to explain this part.

There will probably be some bugs in this while combining normally, but oh well =P
Enjoy trying out the uberstone. =)

Last edited by thacannon; October 27th, 2009 at 03:37 AM.
ThievingSix is offline   Reply With Quote
 

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
why is Hard so HARD!!!! deliciousd Onslaught Tower Defence 6 November 10th, 2009 10:26 AM
hard nicholas98 Bacteria Tower Defense 1 November 22nd, 2008 12:06 AM
Hard? slaine Planet Defender 2 May 8th, 2008 10:44 PM
How do you know there is a uberstone? kicken Gem Tower Defence 4 March 24th, 2008 07:08 PM
Post baseless lies about user below you Andromeda Misc Chat 39 January 11th, 2008 07:59 PM



All times are GMT. The time now is 09:17 PM.
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.