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.


Topics - Darl181

Pages: 1 [2] 3
16
Miscellaneous / What is your custom title?
« on: July 07, 2011, 07:46:18 am »
YARIT (Yet Another Random Info Thread)

What the topic title says.
"What is your custom title?"


Guess I'll start...I just changed mine this morning.  Yes, it actually means something...
%$$*#%!$#*##@@$&!##*
The way it's encrypted has something due to calcs btw ;)

17
Axe / [Solved] Collision Detection: what's wrong with this code?
« on: June 28, 2011, 03:49:42 am »
Hi, I've been debugging collision detection equations like these for the past few hours, and every "fix" I'd try would only make it worse.  So I figured it's about time to post it.

Basically what it's supposed to do is have a square, controllable via arrow keys, that moves amongst other squares while not going into them.  Think TWHG with just the player and the walls, and 4*4, and you'll have about the right idea.

Problem is, something's really screwed up in the way it looks for other blocks, and seems to be taking data from who knows where in the ram...

When you press alpha, it displays what the program thinks is under each of the corners laid out like this
I  J
N  O

0 is empty, 1 is occupied.

Also if you hold [2nd] when you press an arrow key it displays what the program thinks is just above/below/whatever in relation to the player sprite.

Code: [Select]
:.ATST3
:[F09090F000000000]?Pic1
:[F0F0F0F000000000]?Pic2
:48?D
:For(T,2,15)
:For(S,0,23)
:If rand^2
:1?{D+L1}
:Pt-Change(S*4,T*4,Pic2)
:End
:D++
:End
:End
:4?X?Y
:Repeat getKey(15)
:Y/4*24+(X/4)+L1?I
:Y/4*24+(X+3/4)+L1?J
:Y+3/4*24+(X/4)+L1?N
:Y+3/4*24+(X+3/4)+L1?O
:If getKey(48)
:ClrHome
:Disp "I",{I}?Dec,i,"J",{J}?Dec,i,"N",{N}?Dec,i,"O",{O}?Dec,i,I?Dec,J?Dec,i,N?Dec,O?Dec
:.those are the newline "i"s btw
:While getKey(48)
:Pause 10
:End
:End
:If getKey(1)
:If getKey(54)
:ClrHome
:Disp {I+24}?Dec,{J+24}?Dec
:While getKey(54)
:Pause 10
:End
:End
:If {I+24} or {J+24}
:Else
:Y++
:End
:End
:
:If getKey(4)
:If getKey(54)
:ClrHome
:Disp {N-24}?Dec,{O-24}?Dec
:While getKey(54)
:Pause 10
:End
:End
:If {N-24} or {O-24}
:Else
:Y--
:End
:End
:
:If getKey(2)
:If getKey(54)
:ClrHome
:Disp {J-1}?Dec,{O-1}?Dec
:While getKey(54)
:Pause 10
:End
:End
:If {J-1} or {O-1}
:Else
:X--
:End
:End
:
:If getKey(3)
:If getKey(54)
:ClrHome
:Disp {I+1}?Dec,{N+1}?Dec
:While getKey(54)
:Pause 10
:End
:End
:If {I+1} or {N+1}
:Else
:X++
:End
:End
:Pt-Change(X,Y,Pic1)
:DispGraph
:Pt-Change(X,Y,Pic1)
:End

Needless to say this isn't my contest entry, but it's somewhat related.  One minor bugfix led to another and it spiraled into a revamped system for detection, which this is an oversimplification/unoptimization of.

18
Humour and Jokes / Radio Rickroll?
« on: June 28, 2011, 01:14:00 am »
Just noticed this...

Quote from: #omnimaga-radio logs
[8:58:04 PM]*OmniRadio now playing on /omnimaga: Rick Astley - Never Gonna Give You Up (DJ Omnimaga UK Hardcore Remix) - Listen now on http://radio.57o9.org/omnimaga.m3u
D:

19
OmnomIRC Development / Duplicated nicks in user list
« on: June 25, 2011, 10:02:20 pm »
What the title says.  It seems to multiply when someone says something, but it's also somewhat random.

EDIT: added gif of scrolling.  calccapture ftw

20
Art / Sprite Request: Basketball Hoop
« on: June 25, 2011, 01:38:27 am »
Preferably 8*8, any type of grayscale (b/w, 3 grays or 4 grays) I'll make do with.  TIA ;D
When I tried making it it looked like some malformed blob... x.x

I've started (actually, pretty far through atm) a little side project for when i get coder's block while writing DS.
Hmm... when you finished this, once August 1st hits you should release the source in public so someone can make a basket ball game or something using the object manipulation stuff O.O
I have the object physics separate actually, as a OBJPHYS.8xp...
Tho it's kind of specialized atm regarding detection and such, but I can edit a few things and release it ;)

EDIT: there's an idea..."Axketball" or something

^
I still plan on releasing the library at some point btw.

21
Site Feedback and Questions / "Level-up" idea
« on: June 12, 2011, 01:23:50 am »
It's occurred to me that omnimaga is kind of RPG-based, what with the things in the banner and the rank progress bars.
So I was wondering about something that, imho, would be pretty neat...

When a person has the amount of posts to level up, a pop-up or PM (or something else) appears/is sent to the user.

[data taken from here, tho it's out-of-date]
Quote from: maybe...
You've leveled up!
Now: Level 2

You've learned new abilities! [or something like that]
• OmnomIRC
• Poll voting

Maybe they can get more extravagant as the level-ups continue, or maybe a sort of story is included in each level.

I'm not sure how feasible that would be, just thought I'd put it out there ;D

22
TI Z80 / Dimension Shift
« on: May 18, 2011, 11:58:26 am »
EDIT: this was originally called "Extreme Tic-tac-Toe: Contest Entry"

Something like tic-tac-toe, but with sub-fields (a 3*3 grid for every square in the main board, maybe another layer beneath for a really long game) that you have to win to "gain" the larger square (put you mark on it, either an X or an O).  Maybe some fighting/arcade (or perhaps a random medley of simple arcade games) aspect or something fought against an AI or another player to gain the squares in the sub-fields can be added, or it could just be pure strategy.  Game is won if user gets three of their X/O in a row in the master grid.
↑↑ that.
I'm going to make it two-player in the entry, rather than stress myself over the AI.  I would try to do link play, tho I can't really test it with a casio cable atm :P
Expect to see a few random mini-games screenies in the near future. ;)

Also, more creative title pending...

23
The Axe Parser Project / Axe's in-app help section
« on: May 04, 2011, 12:28:30 am »
I've been curious for a while about that "help" option that shows up when Axe is started up.
What is planned be put inside of it?
Fix tokens index, L# volatility explanations, other tricks like the backup key and such?
Or some sort of document, explaining what Axe is?

24
General Calculator Help / TI/Casio IO cables
« on: May 03, 2011, 07:09:49 pm »
Hi, I lost my 84's IO link cable a month or so ago and have been looking for an alternative since.  I haven't been able to get a replacement.
Just today, I found the IO cable that came with my 9750.  I tried it with the TI calcs (math class ftw) but it didn't work.

So, I was wondering if there was a difference between ti's link cables and casio's link cables.  The plugs look just the same, but the TI calc always show "Error in XMit" as if nothing was plugged in.

TIA

Clarifying edit: I was meaning calc-calc linking


25
Axe / Appvar data manipulation
« on: April 28, 2011, 02:49:56 am »
The code below is eventually going to be put in the Tio level editor.
The idea is to either insert or remove a level from the pack.
Str0T is temp string, something like "appvTEMPLVL"
Str0L is the real level set.
r6 is the pointer to start off the level var.  getcalc(thing)→r6 then →P.
P is manipulated to change the level that's pointed to within the set.
Q is simply {r6-2}^r stored to a var
One level is 384 bytes large, one "level slot"
After INSERT
Inserts a level where the pointer is.  One slot.
What  it's  *supposed* to do is copy all the data from the current pointer  one slot forward, making the level larger and leaving a gap where the new level can be started.
After DELETE
Removes the level pointed to.
Pulls back the levels after the currently-pointed-to level, shrinking the pack and overwriting the current level.
The 31337 lets the game know, when it's reading through the level appvar, where the appvar ends.
So, the code.

Main editor program to an extent
Code: [Select]
PROGRAM:STIO10E
:.program start
:.header, sprites, strings, main menu, level select
:.more stuff
:Lbl E
:.Editor start
:.load level, start main loop
:.main loop starts
:.cursor movement code...
:If getKey(10):3→r1:Goto LVL:End
:If getKey(11):4→r1:Goto LVL:End
:If getKey(12):1→r1:Goto LVL:End
:If getKey(13):2→r1:Goto LVL:End
:.rest of main loop
:.main loop ends
:.subroutines
:Lbl LVL
:prgmLEVEL
:Goto E
Sub-program
Code: [Select]
PROGRAM:LEVEL
:..
:{r6-2}^r→Q
:.^r is same as the result of [sup]r[/sup]
:!If r1-1
:.Q-1→Q
:.INSERT
:GetCalc(Str0T,Q)→B
:GetCalc(Str0L)→C
:copy(C,B,Q)
:GetCalc(Str0L,Q+384)→C
:copy(B,C,Q)
:31337→{Q+384→Q+C+1}^r
:End
:!If r1-2
:.DELETE
:If Q+385
:Q-384→Q
:GetCalc(Str0T,Q)→B
:GetCalc(Str0L)→C
:copy(C,B,Q)
:GetCalc(Str0L,Q)→C
:copy(B,C,Q)
:31337→{Q+r6}^r
:End
:End
:.manual switch
:!If r1-3
:.previous
:If P-r6
:P-384→P
:End
:!If r1-4
:If {P+383}^r-31337
:P+384→P
:End
:.Return

I've tried this code, and it led to a pretty epic RAM clear, even caused the BLOD somehow :P
On another try it made a gigantic overflow variable which on recall caused another crazy RAM clear.
Clearly, I'm going to need some help getting this to work properly...
1) is it plausible?
2) what's wrong with it?  I've been coding for less than a year and make some pretty dumb mistakes sometimes, and I'm guessing this might be another one...
3) can it be fixed, or would it need to be completely re-written?

EDIT: this code, and the text almost verbatim, is in a kompispad (read:etherpad) at http://kompisen.se/tio and the "Tio Dev" link in my sig goes there as well.

26
General Calculator Help / Random tokens when 3 is pressed
« on: April 25, 2011, 10:51:29 pm »
Sometimes, when using my calc and press the 3 key, sometimes the Real( token pops up followed by some number or another.
After I press 3 and the tokens pop up it doesn't happen again for a while.
I have no idea why this happens.

Just now I tried to type in 49538/16384 and 495real(35,8/16384 .  It's also done this in the program editor and the y-var editing screen.
Installed atm are omnicalc, zstart, axe and calcutil.  This happens on average two or three times a month, but in this case hasn't happened for a month or two.

Spoiler For omnicalc stuff enabled:
entries menu
RAM recovery
base conversions
lowercase Letters
thousands Seperators
quick APPS
hide Finance app
no options selected in calcutil, only installed

Axe: the hook and lowercase enabled

Personally I'm suspecting omnicalc b/c it's using the real( token, but I can be completely off.

EDIT: real(35 doesn't seem to be associated with any of the omnicalc functions, so it's probably not that... ???

EDIT2: this happened long before I ever used zstart, btw

27
Site Feedback and Questions / New Posts page automatic refreshing?
« on: April 10, 2011, 01:36:20 am »
I've wondered if it would be possible to have the New Posts page automatically refresh when a new post was made.  It would probably be disabled by default, but it could be pretty useful.

Would it be possible?

28
Quote
[00:36:45] <Darl181> kind of a problem here
[00:36:53] <+Su-Chan> ?
[00:37:00] <Darl181> omnicalc isn't installing stuff correctly
[00:37:04] <Darl181> and I just re-sent it
[00:37:48] <Darl181> I checked both "hide finance app" and "quick apps" and it shows a blank 1: in the apps menu
[00:37:53] <Darl181> ram clear didn't fix
[00:39:30] <+Runer112> umm
[00:39:36] <+Runer112> is your calc an 84+SE
[00:39:49] <Darl181> the stuff worked before
[00:39:57] <Darl181> yes, it has the extra ram pages
[00:40:05] <Darl181> 84 pbe
I try running the empty 1: (where Finance normally is) and it throws a validation error.
As far back as TWHG, I've been using this feature and it worked fine until tonight.
btw if I try loading the apps menu using a custom font it freezes ???

Thanks in advance.

EDIT: I've tried re-sending the OS via TiLP and it refuses to send, so no fix that way :(

29
TI Z80 / Dimension
« on: February 18, 2011, 11:15:11 pm »
Speaking of this "random garbage" popping up, it gave me a game idea.  A platformer, with essentially no purpose (except to have fun/kill time) that reads from the RAM, in which you can switch 'dimensions' (inspired by the random blocks appearing and disappearing at random in the old versions).  
So... thanks for that ;D
[↑ quoted from sandland thread]
So, I started by modifying an old version of Sandland to see what I could come up with.  It's worked pretty well.
See first screenshot. Screenie removed b/c of confusions.
You can probably tell how it's supposed to work.

After that, I went to code my own.
It reads starting at a random spot in RAM.  The 'other dimension' is that pointer plus 32768 (65536/2).
It doesn't work as much.  See second screenshot.

Can someone look at the source and see what's wrong?  It seems to not be detecting tiles that should be there, or standing on a tile that's not there...

Variables:
E: starting pointer
I,J: tile offset from E.
N,O: pixel offset from I,J
D: whether or not player is on top of a tile
FGKL, PQUV: used for detection of tiles
Z,Θ: X- and Y-velocities

Thanks in advance ;D

Controls for Dimension: left/right: move left/right
2nd: jump
Alpha: swap dimension
Clear: quit

btw I'm not dropping Tio for this, I'm kind of using this to learn more about smoothscrolling tilemappers before I apply it to Tio.

30
Other Calc-Related Projects and Ideas / TiLP Portable?
« on: February 18, 2011, 01:25:30 am »
I was wondering if it's possible to run TiLP, or a modified version of it, off of a flash drive.
Pretty much everything I do related to computers is on my flash drive.
For me, it's an accomplishment to use the same computer more than three times, and it gets kind of tiring installing TiLP whenever I happen to need it, like 2 or 3 times a week.
So, is it possible, or is there a way to make it possible?

Thanks in advance ;D

Pages: 1 [2] 3