The telnet system
Moderator: Quantum P.
The telnet system
Telnet to mi computer and find the game calld Snowboll Game and also the uther game is calld Solter Solitare. I also made Solter Solitare on mi TI-92 calculater, with a slitly difrint rules.
I turnd of the telnet for now, I will turn it back on wen I fix the sorting on the mesige bord.
I turnd of the telnet for now, I will turn it back on wen I fix the sorting on the mesige bord.
Last edited by 136 on Tue Dec 23, 2003 6:23 pm, edited 2 times in total.
DO YOU HAVE ANY GAMES FOR MY ABACUS?
[img:1yn06nag]http://img294.imageshack.us/img294/9531 ... sigdo8.jpg[/img:1yn06nag]
I will put mi telnet system work agen wen I fix the sort threds on mesige bord. If you no about BYOND then maybe you can help me to fix it. I used ShellSort(l) and procs override Compare(item1,item2) but it not call compared and is not sorted!
Its not sorting it! It makes a list uv the items, but is not sorted items.
Code: Select all
Compare(item1,item2)
// +1 is item1 before item2
// -1 is item1 after item2
// 0 is both same place in list
if(istype(item1,/obj/thred))
if(item1:sticky!=item2:sticky)
return ..(item2:sticky,item1:sticky)
return ..(item2:time,item1:time)
if(istype(item1,/obj/mesige))
return ..(item1:time,item2:time)
if(istype(item1,/obj/secsen))
return ..(item1:num,item2:num)
return ..(item1,item2)
var/list/l=list()
var/n=0-mob.p
var/s=0
for(var/obj/thred/O in mob.s:contents)
l+=O
ShellSort(l)
for(var/i in 1 to length(l))
var/obj/thred/O=l[i]
n+=1
if(n>mob.terminalrows-6) goto endfor1
if(n>0)
if(O.sticky<s) mob << "-----------"
mob << "[O.num] / [O.title] / [O.owner.loginname] \
/ [length(O.contents)] / [time2text(O.time)]"
s=O.sticky
endfor1
command_prompt="(number/neW/Back/Previus/Next)"
return 0