NOTE! This site uses cookies and similar technologies.

If you not change browser settings, you agree to it.

I understand
Welcome, Guest
Username: Password: Remember me

TOPIC: BUG LIST : Fix for next 1.4

BUG LIST : Fix for next 1.4 11 years 4 months ago #601

  • Fatal1ty
  • Fatal1ty's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 1
  • Karma: 1
Possible source code for how you could have customizable OS's on the client side, this is still a work in progress.
Hacker Online (Client Side)
	OSv1
		boot.sector
			print "OS version 1"
			print "(c) copywrite 2013, All Rights Reserved"
			print ""
			print "By Fatal1ty"
			print ""
			print "Kernel ";
			if fileExists("kernel") then
				print "Loading . . ."
				goto Found
			else
				print "Not found ( Error #1: No Operating System Found )"
				goto notFound
			endif
			:Found
				execFile("kernel")
				print ""
				print "kernel exited, please reboot"
				halt
			:notFound
				print ""
				print "Please re-install Operating System"
				goto notFound


		kernel
			print "OS Kernel v1.0"
			if fileExists("OS/console") then
				execFile("OS/console")
			else
				print "Error #2: OS/console not found"
				quit
			endif

		OS/console
			dim a$,prompt$,cmdline$,cmdArray,quit
			print "OS Console v1.0"
			if fileExists("autoexec") then
				a$ = readFile("autoexec")
				bufferPush(a$)
			else
				print "*No autoexec file found"
			endif
			prompt$="home/"
			quit=false
			:cmd
				if bufferLength=0 then
					print prompt$;
					waitInput
				endif
				cmdline$=bufferPop()
				print prompt$+" "+cmd$
				cmdArray = splitLine(cmdline$," ")
				if fileExists("/OS/CMDS/"+cmdArray[1]) then
					execFile("/OS/CMDS/"+cmdArray[1],cmdArray)
				else
					if fileExists(cmdArray[1]) then
						execFile(cmdArray[1],cmdArray)
					else
						print "unknown command or filename"
					endif
				endif
				prompt$=currentDirectory()+"/"
				if prompt$="/" then
					prompt$="home/"
				endif
				goto cmd
			:done
				quit

		OS/CMDS/ver
			print "OS version 1"
			print "Kernel version 1"
			print "console version 1"
			print ""
			print "By Fatal1ty"
			quit

		OS/CMDS/chdir
			if params(1)=".." then
				currentDirectoryBack()
			else
				if directoryExists(params(1)) then
					currentDirectorySet(params(1))
				else
					print "* Directory does not exist"
				endif
			endif
			quit

		OS/CMDS/dir
			dim files$
			files$=listFiles(currentDirectory())
			print files$
			quit

		OS/CMDS/mkdir
			if directoryExists(params(1)) then
				print "* Error Directory already exists"
			else
				createDirectory(params(1))
			endif
			quit

		OS/CMDS/rmdir
			if directoryExists(params(1)) then
				removeDirectory(params(1))
			else
				print "* Directory does not exist"
			endif
			quit

		OS/CMDS/list
			dim a$
			if fileExists(params(1)) then
				a$ = readFile(params(1))
				print a$
			else
				print "*No "+params(1)+" file found"
			endif
			quit

		OS/CMDS/help
			dim a$
			if fileExists("/OS/help/"+params$) then
				a$=readFile("/OS/help/"params$)
				print a$
			else
				print "Help [topic]"
				print ""
				print "help os"
				print "help game"
			endif
			quit
Last Edit: 11 years 4 months ago by Fatal1ty. Reason: changed it to [code] [/code] to keep text formating
The topic has been locked.

BUG LIST : Fix for next 1.4 11 years 4 months ago #602

  • Gekko
  • Gekko's Avatar
  • Offline
  • Administrator
  • Posts: 774
  • Thank you received: 108
  • Karma: 39
Hi Fatal1ty,
well the GG Basic is a little different, try to download it, is free.
So you can see some of my examples to use it.
It works only on ipad, do you have ipad?

Edit : ahhhh now i understand what you mean!!
Yes, in fact, it is coded in a similar way.
You must know, that the first time i started this game, i recreated a virtual desktop, with icons and mouse, with dragging and dropping and all the rest.
But Apple didn't accepted a desktop simulation, so i changed in the console mode.

Now, to add the functionality you wrote, we can use the edit new command, but, for normal users will be very difficult to understand.
I will try to do something more easy, with some little commands.

Anyway i will add the ggbasic command to launch the basic, and the .bas files will be executable if launched with their names. (or something similar)

For the kernel edit, is a good idea.... lol all this changes will take very long time ahahaaah, but i like it too much.
Last Edit: 11 years 4 months ago by Gekko.
The topic has been locked.

BUG LIST : Fix for next 1.4 11 years 4 months ago #603

  • Fatal1ty
  • Fatal1ty's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 1
  • Karma: 1
Do you mind me asking what language/developer software you are using to program this game? Objective-C client side, and php server side?

as far as the Operating System goes, you program the initial OS that each user gets originally. Then the users who can program, could modify/create their own versions. It could make it much easier for you to add commands to. Since you could have users be able to download newer versions or same version and install it. So you could add commands and capabilities to the users console with out needing to send a patch to for Apple to inspect.

Also, would you be willing/able to post some of the screen shots from your original idea? With the desktop and such?
Last Edit: 11 years 4 months ago by Fatal1ty. Reason: Added request for screen shots
The topic has been locked.

BUG LIST : Fix for next 1.4 11 years 4 months ago #604

  • Gekko
  • Gekko's Avatar
  • Offline
  • Administrator
  • Posts: 774
  • Thank you received: 108
  • Karma: 39
Hi Fatality,
well i don't remember if i have the old screenshots, as i done the GOS "Gekko OS" the last year.
I worked much on it, as i already done a Javascript version in the past.
I use c++ / OBJ C on the client side, and PHP on the server side.

After i read that Apple always reject the Desktop simulations, i changed to the console.
In the beginning it was multi console, but i thought that users don't know how to use it.
Hack Online was rejected 8 times before a reviewer that was able to use a console approved it.

The problem in the idea you shown before, is that Apple will never accept something that can be modified by users.
This is the reason i always put prefixed commands.
Anyway i will try to move all commands to the server side, and transform the client in a show the line array from server.

This will take much time, but this will give us the possibility to fix bugs immediately.
Some times, i don't add in the help some commands until Apple accept the update, cause there are some commands that can make the app get rejected.

I try to found the screenshots....
The topic has been locked.

BUG LIST : Fix for next 1.4 11 years 3 months ago #636

  • Gekko
  • Gekko's Avatar
  • Offline
  • Administrator
  • Posts: 774
  • Thank you received: 108
  • Karma: 39
Ok finally Apple released our Street Karate 2....
Now we are working to update all games with Facebook BUG (Facebook released a new SDK with the bug fixed) and we will start to work on all the news on Hack Online.
Thx all for the support.
The topic has been locked.

BUG LIST : Fix for next 1.4 11 years 3 months ago #637

  • thiagoxxxx
  • thiagoxxxx's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 10
  • Karma: 0
All my coins are gone after the last reset in hardware . I got a lot of coins by poker! I need it back its around 7500 coins.
EDIT : nickname : thiagokeizo.
Last Edit: 11 years 3 months ago by thiagoxxxx.
The topic has been locked.

BUG LIST : Fix for next 1.4 11 years 3 months ago #639

  • Gekko
  • Gekko's Avatar
  • Offline
  • Administrator
  • Posts: 774
  • Thank you received: 108
  • Karma: 39
Thiago GGCoins can't be deleted, but if you want some to play just ask and i will add to you.
I'm gonna take your ID and add 7500.
;)

Edit : I need your nickname...
Last Edit: 11 years 3 months ago by Gekko.
The topic has been locked.
The following user(s) said Thank You: thiagoxxxx

BUG LIST : Fix for next 1.4 11 years 3 months ago #646

  • thiagoxxxx
  • thiagoxxxx's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 10
  • Karma: 0
thiagoxxxx wrote:
All my coins are gone after the last reset in hardware . I got a lot of coins by poker! I need it back its around 7500 coins.
EDIT : nickname : thiagokeizo.
I remember why I lost my coins , i removed and installed again my game to solve the stuck mission internet
Last Edit: 11 years 3 months ago by thiagoxxxx.
The topic has been locked.