upper case or lower case?

General Injection issues

Moderators: Murderator+, Murderator

Post Reply
iRuLez
Posts: 104
Joined: 2006-05-04 18:40:42

upper case or lower case?

Post by iRuLez »

I don't have never undestand if is an error writing uo.msg("123")

Which is the different from:
uo.msg("123")
and
UO.Msg("123")

also, the different from

uo.usetype('0x0000','0x0000')
and
uo.usetype(0x0000,0x0000)

Which is the Sintax correct from these "script"?
Destruction
Junior Expert
Posts: 3221
Joined: 2004-06-24 22:08:56

Post by Destruction »

Script Engine is case insensitive.

For usetype command use string arguments.
YokoInjection CodeSweeper
Function not found?
Possession of mathematics at the level of art - a gift that is only available for election.
Sorry for my clumsy English.
Telegram: @tatikom
iRuLez
Posts: 104
Joined: 2006-05-04 18:40:42

Post by iRuLez »

uhmmm ok

and change something from
end sub
or
endsub?
Destruction
Junior Expert
Posts: 3221
Joined: 2004-06-24 22:08:56

Post by Destruction »

I use "endsub"..
YokoInjection CodeSweeper
Function not found?
Possession of mathematics at the level of art - a gift that is only available for election.
Sorry for my clumsy English.
Telegram: @tatikom
iRuLez
Posts: 104
Joined: 2006-05-04 18:40:42

Post by iRuLez »

:roll: all these small details can trigger some error to inject as "unandle exception in parser" or anything like?
Grin
Expert!
Posts: 2580
Joined: 2005-05-04 14:05:19
Location: Москва

Post by Grin »

Injection use compiler... Once compile and forget:)
Destruction
Junior Expert
Posts: 3221
Joined: 2004-06-24 22:08:56

Post by Destruction »

А мне Yoko говорил, что это интерпретатор замаскированный..

Видать хорошо замаскировали :)
YokoInjection CodeSweeper
Function not found?
Possession of mathematics at the level of art - a gift that is only available for election.
Sorry for my clumsy English.
Telegram: @tatikom
Grin
Expert!
Posts: 2580
Joined: 2005-05-04 14:05:19
Location: Москва

Post by Grin »

там копилятор бизон, на компиляторе реализовали интерпритатор, в результате имеем что имеем, утечки памяти и тд...
Конкретно у мамаича (точно не помню но вроде он занимался парсером), были проблемы с ветвлением, а имено с организацией переходов (если интересно в исходникх есть файл по парсеру).
iRuLez
Posts: 104
Joined: 2006-05-04 18:40:42

Post by iRuLez »

if the script engine is insensitive
are better change this?

all know if the accuracy in script is very important .... :wink:
Edred
Expert!
Posts: 2544
Joined: 2004-04-03 17:36:29
Location: Saint-Petersburg

Post by Edred »

Grin wrote:там копилятор бизон, на компиляторе реализовали интерпритатор, в результате имеем что имеем, утечки памяти и тд...
(если интересно в исходникх есть файл по парсеру).


Кстати, всем рекомендую почитать этот файлик. Я когда-то читал его как беллетристику какую-нибудь... Одного до сих пор не понял - на фига так было извращаться и писать интерпретатор из компилятора... И получить простейших бейсик. Когда этих бейсиковых интерпетаторов в инете пруд пруди.
Ни один скрипт не работает? Пора обновить Инжект...
Все работает, но хочется большего? Пора переходить на стелс...
Post Reply