Yoko

All sides of Injection
It is currently 2025-12-28 13:42:16

All times are UTC+02:00




Post new topic  Reply to topic  [ 9 posts ] 
Author Message
 Post subject: tiles test :)
PostPosted: 2004-12-19 15:36:18 
Offline
Site Admin
User avatar

Joined: 2004-04-03 16:49:38
Posts: 1964
*warning this script is not working in your version of injection*
Code:
sub draw()
var x,y,s
uo.textclose()
uo.textclear()
for y=474 to 498
s=""
for x=2555 to 2580
if uo.privategettile(x,y,-1,1330,1360) then
if uo.privategettile(x,y)>2 then
 s=s+"+"
else
 s=s+"#"
end if
else
 s=s+"_"
end if
next
uo.textprint(s)
next
uo.textopen()
end sub


text output

Code:
_____________#########____
____________#########+#___
___________#############__
__________###############_
__________###+############
__________############+###
_________#################
________##################
_______###################
_______###+###+###########
_______##############+###_
______##################__
_____##################___
____##############+_______
___###############________
___##############_________
___#########______________
___########_______________
___########_______________
__########________________
_########_________________
#+######__________________
#######___________________
#######___________________
#######___________________

(minoc mine)


Top
   
 Post subject:
PostPosted: 2004-12-19 16:19:28 
Offline
Expert!

Joined: 2004-04-03 17:36:29
Posts: 2544
Location: Saint-Petersburg
Неужели ты решил в общедоступной версии разблокировать команды private*? :lol:


Top
   
 Post subject:
PostPosted: 2004-12-19 16:21:24 
Offline
Site Admin
User avatar

Joined: 2004-04-03 16:49:38
Posts: 1964
несколько человек меня спрашивали что оно из себя представляет


Top
   
 Post subject:
PostPosted: 2004-12-19 22:40:06 
Offline

Joined: 2004-10-16 12:30:54
Posts: 46
Location: Argentina
don't work for runuo?
my output:
Code:
##########################
#####################+####
##########################
##########################
#############+############
######################+###
##########################
##########################
##########################
##########+###+###########
#####################+####
##########################
##########################
##################+#######
##########################
##########################
##########################
##########################
##########################
##########################
##########################
#+########################
##########################
##########################
##########################


Top
   
 Post subject:
PostPosted: 2004-12-20 02:04:25 
Offline

Joined: 2004-06-16 00:44:18
Posts: 56
punkesito wrote:
don't work for runuo?


Yoko wrote:
*warning this script is not working in your version of injection*


Top
   
 Post subject:
PostPosted: 2004-12-20 07:41:17 
Offline
Expert!

Joined: 2004-04-03 17:36:29
Posts: 2544
Location: Saint-Petersburg
Yoko wrote:
несколько человек меня спрашивали что оно из себя представляет


Ты бы сделал прилепленный топик типа Update, где бы подробно описал "прелести" special edition... ИМХО.


Top
   
 Post subject:
PostPosted: 2004-12-20 14:58:25 
Offline
Site Admin
User avatar

Joined: 2004-04-03 16:49:38
Posts: 1964
типа мне нечего больше делать


Top
   
 Post subject: Re: tiles test :)
PostPosted: 2004-12-21 13:18:14 
Offline

Joined: 2004-07-18 04:07:38
Posts: 8
Yoko wrote:
*warning this script is not working in your version of injection*
Code:
sub draw()
var x,y,s
uo.textclose()
uo.textclear()
for y=474 to 498
s=""
for x=2555 to 2580
if uo.privategettile(x,y,-1,1330,1360) then
if uo.privategettile(x,y)>2 then
 s=s+"+"
else
 s=s+"#"
end if
else
 s=s+"_"
end if
next
uo.textprint(s)
next
uo.textopen()
end sub


text output

Code:
_____________#########____
____________#########+#___
___________#############__
__________###############_
__________###+############
__________############+###
_________#################
________##################
_______###################
_______###+###+###########
_______##############+###_
______##################__
_____##################___
____##############+_______
___###############________
___##############_________
___#########______________
___########_______________
___########_______________
__########________________
_########_________________
#+######__________________
#######___________________
#######___________________
#######___________________

(minoc mine)


Вот это шедевр....Йоко я хетел бы стать таким как ты :)


Top
   
 Post subject: Re: tiles test :)
PostPosted: 2004-12-21 15:52:31 
Offline
Expert!

Joined: 2004-04-03 17:36:29
Posts: 2544
Location: Saint-Petersburg
Artie wrote:
Вот это шедевр....Йоко я хетел бы стать таким как ты :)


Дык легко же. Идешь на www.sourceforge.net, берешь исходники старого инжекта (с открытым кодом) и путем их доработки делаешь аналогичный проект. Или еще круче. Во много раз. Все в твоих руках.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 9 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited