PDA

View Full Version : getWorld()



Furpan
07-25-2013, 06:19 PM
Similar to getUserName().
This would prevent leechers from using some scripts on the authors world for an example. Would come handy for scripters that are currently leveling in X spawn.

Spectrus
07-25-2013, 06:24 PM
Don't like the idea, sorry. Can't see it being used practically.

Xeno Scripts
07-25-2013, 06:40 PM
The tibia client can not supply you with this info.

jo3bingham
07-25-2013, 07:05 PM
The tibia client can not supply you with this info.
Actually, it does.

Y2Quakepc2
07-25-2013, 07:36 PM
i hate those who speak as if they were pro asm programmers and they dont know shit lol

Xeno Scripts
07-25-2013, 07:42 PM
Actually, it does.

Syntax told me it doesn't, then it should be implemeted as soon as possible.

Avani
07-25-2013, 08:40 PM
I don't think this suggestion will help the community.

Xeno Scripts
07-25-2013, 08:44 PM
I don't think this suggestion will help the community.

It will. Nakuu's dice script etc. He want to limit the script to certain worlds.

SamDaMan
07-25-2013, 08:44 PM
Similar to getUserName().
This would prevent leechers from using some scripts on the authors world for an example. Would come handy for scripters that are currently leveling in X spawn.

Until someone easily removes the function from the script...

Avani
07-25-2013, 08:49 PM
It will. Nakuu's dice script etc. He want to limit the script to certain worlds.

Still won't guarantee you being the only bot-dicer on your world. And what things do you mean with etc? :)


Until someone easily removes the function from the script...

Which they can't if you encrypt it ;)

Furpan
07-25-2013, 08:56 PM
I don't think this suggestion will help the community.

Maybe so, I was just throwing the idea out there to discuss. My reason for posting it is that I am planning on releasing more free scripts in my thread, however, most of the spawns are where I currently level at. I would like to release a few more that I use, but spawns will eventually get more crowded.

By blocking of certain worlds, there might be more free/paid scripts released. However, the negative side is that the user is limited ofcourse.

Nakuu
07-25-2013, 08:59 PM
Imo it sohuld be implemented, would make my life a lot easier :P Also it would be possible to release some exclusive scripts for really good spawns.

Syntax
07-25-2013, 09:12 PM
Syntax told me it doesn't, then it should be implemeted as soon as possible.

When did I tell you that? You asked if there was a function. There isn't.

And I vote no ofc, this is a realllly specific function. I see no real use for it.

Xeno Scripts
07-25-2013, 09:13 PM
Still won't guarantee you being the only bot-dicer on your world. And what things do you mean with etc? :)



Which they can't if you encrypt it ;)

It will limit the user to just use it as the selected world. Otherwise if he sells one for each world it could be 100 dicebotters on one world.

Xeno Scripts
07-25-2013, 09:16 PM
When did I tell you that? You asked if there was a function. There isn't.

And I vote no ofc, this is a realllly specific function. I see no real use for it.

Sorry, I think we have must have missunderstood eachother.

Well, it's really easy to add and some users will benefit from it so I see no point why it's shouldn't get implemented.

Avani
07-25-2013, 09:29 PM
It will limit the user to just use it as the selected world. Otherwise if he sells one for each world it could be 100 dicebotters on one world.

What if other people start selling dice scripts?

And as i asked before, what did you mean with ETC. What other scripts/users will benefit from this feature?

Nakuu
07-25-2013, 09:39 PM
Not like it's you who would have to spend time implementing it so why be so negative? It's up to DarkstaR if he got time for that (even though I believe it isn't hard to implement). Still would like to see fix to special areas and browse field function before that :)

Avani
07-25-2013, 09:47 PM
Not like it's you who would have to spend time implementing it so why be so negative? It's up to DarkstaR if he got time for that (even though I believe it isn't hard to implement). Still would like to see fix to special areas and browse field function before that :)

This board is here to discuss suggestions ;) I was just wondering what else Xeno Scripts thought might benefit from a function like this since he said "Nakuu's Dice script etc". If he had a good example i might agree with you guys and vote for this suggestion aswell.

Xeno Scripts
07-25-2013, 10:11 PM
This board is here to discuss suggestions ;) I was just wondering what else Xeno Scripts thought might benefit from a function like this since he said "Nakuu's Dice script etc". If he had a good example i might agree with you guys and vote for this suggestion aswell.

Maybe someone else will release a dice script inthe future? Maybe we will see more scripts like this (not hunting), better hunting scripts where the user don't want to make it crowded and just wanna sell to one per world.

Milice
07-26-2013, 06:33 AM
Still won't guarantee you being the only bot-dicer on your world. And what things do you mean with etc? :)



Which they can't if you encrypt it ;)

FALSE
Since it have to be ran decrypted there is obviously a way for the user to just simply remove the encryption.

Avani
07-26-2013, 10:37 AM
FALSE
Since it have to be ran decrypted there is obviously a way for the user to just simply remove the encryption.

Good luck:



code='\27\76\117\97\81\0\1\4\4\4\8\0\56\0\0\0\64\6 7\58\92\85\115\101\114\115\92\74\101\114\111\101\1 10\92\68\111\99\117\109\101\110\116\115\92\88\101\ 110\111\66\111\116\92\83\99\114\105\112\116\115\92 \46\101\110\99\114\121\112\116\46\108\117\97\0\1\0 \0\0\29\0\0\0\0\0\0\8\29\0\0\0\36\0\0\0\69\64\0\0\ 70\128\192\0\129\192\0\0\193\0\1\0\1\65\1\0\65\129 \1\0\129\129\1\0\193\129\1\0\92\128\128\3\71\0\0\0 \69\64\0\0\70\128\192\0\129\0\2\0\193\0\1\0\1\65\2 \0\65\129\2\0\129\129\1\0\193\129\2\0\92\128\128\3 \71\192\1\0\69\192\2\0\133\64\3\0\134\128\64\1\193 \0\3\0\36\65\0\0\156\128\128\1\73\128\0\134\30\0\1 28\0\14\0\0\0\4\8\0\0\0\115\116\97\109\72\85\68\0\ 4\4\0\0\0\72\85\68\0\4\4\0\0\0\78\101\119\0\3\0\0\ 0\0\0\0\36\64\3\0\0\0\0\0\0\55\64\4\10\0\0\0\83\11 6\97\109\105\110\97\58\32\0\3\0\0\0\0\0\224\111\64 \4\9\0\0\0\115\116\97\109\50\72\85\68\0\3\0\0\0\0\ 0\64\80\64\4\1\0\0\0\0\3\0\0\0\0\0\0\0\0\4\3\0\0\0 \95\71\0\4\11\0\0\0\114\101\102\114\101\115\104\72 \85\68\0\4\7\0\0\0\77\111\100\117\108\101\0\2\0\0\ 0\0\0\0\0\2\0\0\0\8\0\0\0\0\1\0\7\14\0\0\0\65\64\0 \0\71\0\0\0\64\0\0\0\131\0\128\1\22\192\0\128\69\1 \0\0\134\1\1\0\85\129\129\2\71\1\0\0\97\64\0\0\22\ 64\254\127\69\0\0\0\94\0\0\1\30\0\128\0\2\0\0\0\4\ 7\0\0\0\98\117\102\102\101\114\0\4\1\0\0\0\0\0\0\0 \0\14\0\0\0\3\0\0\0\3\0\0\0\4\0\0\0\4\0\0\0\4\0\0\ 0\5\0\0\0\5\0\0\0\5\0\0\0\5\0\0\0\4\0\0\0\5\0\0\0\ 7\0\0\0\7\0\0\0\8\0\0\0\5\0\0\0\7\0\0\0\115\116\11 4\116\98\108\0\0\0\0\0\13\0\0\0\16\0\0\0\40\102\11 1\114\32\103\101\110\101\114\97\116\111\114\41\0\4 \0\0\0\11\0\0\0\12\0\0\0\40\102\111\114\32\115\116 \97\116\101\41\0\4\0\0\0\11\0\0\0\14\0\0\0\40\102\ 111\114\32\99\111\110\116\114\111\108\41\0\4\0\0\0 \11\0\0\0\2\0\0\0\118\0\5\0\0\0\9\0\0\0\0\0\0\0\0\ 0\0\0\16\0\0\0\25\0\0\0\0\1\0\6\50\0\0\0\69\64\0\0 \70\128\192\0\133\192\0\0\134\0\65\1\156\128\128\0 \143\64\65\1\92\128\0\1\71\0\0\0\69\64\0\0\70\128\ 192\0\133\192\0\0\134\0\65\1\156\128\128\0\143\64\ 65\1\197\0\0\0\141\192\0\1\142\64\65\1\92\128\0\1\ 71\128\1\0\69\192\1\0\75\0\194\0\197\0\0\0\1\65\2\ 0\69\129\1\0\213\64\129\1\92\64\128\1\69\192\0\0\7 0\0\193\0\92\128\128\0\25\128\194\0\22\128\1\128\6 9\192\1\0\75\192\194\0\193\0\3\0\1\65\3\0\65\129\3 \0\92\64\128\2\22\128\2\128\69\192\0\0\70\0\193\0\ 92\128\128\0\25\192\195\0\22\64\1\128\69\192\1\0\7 5\192\194\0\193\0\4\0\1\65\4\0\65\65\4\0\92\64\128 \2\30\0\128\0\18\0\0\0\4\5\0\0\0\115\116\97\109\0\ 4\5\0\0\0\109\97\116\104\0\4\6\0\0\0\102\108\111\1 11\114\0\4\5\0\0\0\83\101\108\102\0\4\8\0\0\0\83\1 16\97\109\105\110\97\0\3\0\0\0\0\0\0\78\64\4\6\0\0 \0\115\116\97\109\50\0\4\9\0\0\0\115\116\97\109\50 \72\85\68\0\4\8\0\0\0\83\101\116\84\101\120\116\0\ 4\2\0\0\0\58\0\3\0\0\0\0\0\192\162\64\4\13\0\0\0\8 3\101\116\84\101\120\116\67\111\108\111\114\0\3\0\ 0\0\0\0\64\106\64\3\0\0\0\0\0\64\90\64\3\0\0\0\0\0 \0\62\64\3\0\0\0\0\0\64\138\64\3\0\0\0\0\0\224\111 \64\3\0\0\0\0\0\0\0\0\0\0\0\0\50\0\0\0\17\0\0\0\17 \0\0\0\17\0\0\0\17\0\0\0\17\0\0\0\17\0\0\0\17\0\0\ 0\17\0\0\0\18\0\0\0\18\0\0\0\18\0\0\0\18\0\0\0\18\ 0\0\0\18\0\0\0\18\0\0\0\18\0\0\0\18\0\0\0\18\0\0\0 \18\0\0\0\19\0\0\0\19\0\0\0\19\0\0\0\19\0\0\0\19\0 \0\0\19\0\0\0\19\0\0\0\20\0\0\0\20\0\0\0\20\0\0\0\ 20\0\0\0\20\0\0\0\21\0\0\0\21\0\0\0\21\0\0\0\21\0\ 0\0\21\0\0\0\21\0\0\0\21\0\0\0\22\0\0\0\22\0\0\0\2 2\0\0\0\22\0\0\0\22\0\0\0\23\0\0\0\23\0\0\0\23\0\0 \0\23\0\0\0\23\0\0\0\23\0\0\0\25\0\0\0\1\0\0\0\7\0 \0\0\109\111\100\117\108\101\0\0\0\0\0\49\0\0\0\0\ 0\0\0\29\0\0\0\8\0\0\0\12\0\0\0\12\0\0\0\12\0\0\0\ 12\0\0\0\12\0\0\0\12\0\0\0\12\0\0\0\12\0\0\0\12\0\ 0\0\12\0\0\0\13\0\0\0\13\0\0\0\13\0\0\0\13\0\0\0\1 3\0\0\0\13\0\0\0\13\0\0\0\13\0\0\0\13\0\0\0\13\0\0 \0\16\0\0\0\16\0\0\0\16\0\0\0\16\0\0\0\25\0\0\0\16 \0\0\0\25\0\0\0\29\0\0\0\1\0\0\0\4\0\0\0\104\52\12 0\0\1\0\0\0\28\0\0\0\0\0\0\0'
loadstring(code) ()

Tripkip
07-26-2013, 03:08 PM
Good luck:



code='\27\76\117\97\81\0\1\4\4\4\8\0\56\0\0\0\64\6 7\58\92\85\115\101\114\115\92\74\101\114\111\101\1 10\92\68\111\99\117\109\101\110\116\115\92\88\101\ 110\111\66\111\116\92\83\99\114\105\112\116\115\92 \46\101\110\99\114\121\112\116\46\108\117\97\0\1\0 \0\0\29\0\0\0\0\0\0\8\29\0\0\0\36\0\0\0\69\64\0\0\ 70\128\192\0\129\192\0\0\193\0\1\0\1\65\1\0\65\129 \1\0\129\129\1\0\193\129\1\0\92\128\128\3\71\0\0\0 \69\64\0\0\70\128\192\0\129\0\2\0\193\0\1\0\1\65\2 \0\65\129\2\0\129\129\1\0\193\129\2\0\92\128\128\3 \71\192\1\0\69\192\2\0\133\64\3\0\134\128\64\1\193 \0\3\0\36\65\0\0\156\128\128\1\73\128\0\134\30\0\1 28\0\14\0\0\0\4\8\0\0\0\115\116\97\109\72\85\68\0\ 4\4\0\0\0\72\85\68\0\4\4\0\0\0\78\101\119\0\3\0\0\ 0\0\0\0\36\64\3\0\0\0\0\0\0\55\64\4\10\0\0\0\83\11 6\97\109\105\110\97\58\32\0\3\0\0\0\0\0\224\111\64 \4\9\0\0\0\115\116\97\109\50\72\85\68\0\3\0\0\0\0\ 0\64\80\64\4\1\0\0\0\0\3\0\0\0\0\0\0\0\0\4\3\0\0\0 \95\71\0\4\11\0\0\0\114\101\102\114\101\115\104\72 \85\68\0\4\7\0\0\0\77\111\100\117\108\101\0\2\0\0\ 0\0\0\0\0\2\0\0\0\8\0\0\0\0\1\0\7\14\0\0\0\65\64\0 \0\71\0\0\0\64\0\0\0\131\0\128\1\22\192\0\128\69\1 \0\0\134\1\1\0\85\129\129\2\71\1\0\0\97\64\0\0\22\ 64\254\127\69\0\0\0\94\0\0\1\30\0\128\0\2\0\0\0\4\ 7\0\0\0\98\117\102\102\101\114\0\4\1\0\0\0\0\0\0\0 \0\14\0\0\0\3\0\0\0\3\0\0\0\4\0\0\0\4\0\0\0\4\0\0\ 0\5\0\0\0\5\0\0\0\5\0\0\0\5\0\0\0\4\0\0\0\5\0\0\0\ 7\0\0\0\7\0\0\0\8\0\0\0\5\0\0\0\7\0\0\0\115\116\11 4\116\98\108\0\0\0\0\0\13\0\0\0\16\0\0\0\40\102\11 1\114\32\103\101\110\101\114\97\116\111\114\41\0\4 \0\0\0\11\0\0\0\12\0\0\0\40\102\111\114\32\115\116 \97\116\101\41\0\4\0\0\0\11\0\0\0\14\0\0\0\40\102\ 111\114\32\99\111\110\116\114\111\108\41\0\4\0\0\0 \11\0\0\0\2\0\0\0\118\0\5\0\0\0\9\0\0\0\0\0\0\0\0\ 0\0\0\16\0\0\0\25\0\0\0\0\1\0\6\50\0\0\0\69\64\0\0 \70\128\192\0\133\192\0\0\134\0\65\1\156\128\128\0 \143\64\65\1\92\128\0\1\71\0\0\0\69\64\0\0\70\128\ 192\0\133\192\0\0\134\0\65\1\156\128\128\0\143\64\ 65\1\197\0\0\0\141\192\0\1\142\64\65\1\92\128\0\1\ 71\128\1\0\69\192\1\0\75\0\194\0\197\0\0\0\1\65\2\ 0\69\129\1\0\213\64\129\1\92\64\128\1\69\192\0\0\7 0\0\193\0\92\128\128\0\25\128\194\0\22\128\1\128\6 9\192\1\0\75\192\194\0\193\0\3\0\1\65\3\0\65\129\3 \0\92\64\128\2\22\128\2\128\69\192\0\0\70\0\193\0\ 92\128\128\0\25\192\195\0\22\64\1\128\69\192\1\0\7 5\192\194\0\193\0\4\0\1\65\4\0\65\65\4\0\92\64\128 \2\30\0\128\0\18\0\0\0\4\5\0\0\0\115\116\97\109\0\ 4\5\0\0\0\109\97\116\104\0\4\6\0\0\0\102\108\111\1 11\114\0\4\5\0\0\0\83\101\108\102\0\4\8\0\0\0\83\1 16\97\109\105\110\97\0\3\0\0\0\0\0\0\78\64\4\6\0\0 \0\115\116\97\109\50\0\4\9\0\0\0\115\116\97\109\50 \72\85\68\0\4\8\0\0\0\83\101\116\84\101\120\116\0\ 4\2\0\0\0\58\0\3\0\0\0\0\0\192\162\64\4\13\0\0\0\8 3\101\116\84\101\120\116\67\111\108\111\114\0\3\0\ 0\0\0\0\64\106\64\3\0\0\0\0\0\64\90\64\3\0\0\0\0\0 \0\62\64\3\0\0\0\0\0\64\138\64\3\0\0\0\0\0\224\111 \64\3\0\0\0\0\0\0\0\0\0\0\0\0\50\0\0\0\17\0\0\0\17 \0\0\0\17\0\0\0\17\0\0\0\17\0\0\0\17\0\0\0\17\0\0\ 0\17\0\0\0\18\0\0\0\18\0\0\0\18\0\0\0\18\0\0\0\18\ 0\0\0\18\0\0\0\18\0\0\0\18\0\0\0\18\0\0\0\18\0\0\0 \18\0\0\0\19\0\0\0\19\0\0\0\19\0\0\0\19\0\0\0\19\0 \0\0\19\0\0\0\19\0\0\0\20\0\0\0\20\0\0\0\20\0\0\0\ 20\0\0\0\20\0\0\0\21\0\0\0\21\0\0\0\21\0\0\0\21\0\ 0\0\21\0\0\0\21\0\0\0\21\0\0\0\22\0\0\0\22\0\0\0\2 2\0\0\0\22\0\0\0\22\0\0\0\23\0\0\0\23\0\0\0\23\0\0 \0\23\0\0\0\23\0\0\0\23\0\0\0\25\0\0\0\1\0\0\0\7\0 \0\0\109\111\100\117\108\101\0\0\0\0\0\49\0\0\0\0\ 0\0\0\29\0\0\0\8\0\0\0\12\0\0\0\12\0\0\0\12\0\0\0\ 12\0\0\0\12\0\0\0\12\0\0\0\12\0\0\0\12\0\0\0\12\0\ 0\0\12\0\0\0\13\0\0\0\13\0\0\0\13\0\0\0\13\0\0\0\1 3\0\0\0\13\0\0\0\13\0\0\0\13\0\0\0\13\0\0\0\13\0\0 \0\16\0\0\0\16\0\0\0\16\0\0\0\16\0\0\0\25\0\0\0\16 \0\0\0\25\0\0\0\29\0\0\0\1\0\0\0\4\0\0\0\104\52\12 0\0\1\0\0\0\28\0\0\0\0\0\0\0'
loadstring(code) ()


Looked into this a while ago, and Avani Your script could be decrypted ina few minutes. If you know how.
Used string.dump()?

Eion
07-26-2013, 03:54 PM
I am positive that it is possible to decrypt these in one way or another. Although I doubt very many people can do it.

Milice
07-26-2013, 05:05 PM
Good luck:



code='\27\76\117\97\81\0\1\4\4\4\8\0\56\0\0\0\64\6 7\58\92\85\115\101\114\115\92\74\101\114\111\101\1 10\92\68\111\99\117\109\101\110\116\115\92\88\101\ 110\111\66\111\116\92\83\99\114\105\112\116\115\92 \46\101\110\99\114\121\112\116\46\108\117\97\0\1\0 \0\0\29\0\0\0\0\0\0\8\29\0\0\0\36\0\0\0\69\64\0\0\ 70\128\192\0\129\192\0\0\193\0\1\0\1\65\1\0\65\129 \1\0\129\129\1\0\193\129\1\0\92\128\128\3\71\0\0\0 \69\64\0\0\70\128\192\0\129\0\2\0\193\0\1\0\1\65\2 \0\65\129\2\0\129\129\1\0\193\129\2\0\92\128\128\3 \71\192\1\0\69\192\2\0\133\64\3\0\134\128\64\1\193 \0\3\0\36\65\0\0\156\128\128\1\73\128\0\134\30\0\1 28\0\14\0\0\0\4\8\0\0\0\115\116\97\109\72\85\68\0\ 4\4\0\0\0\72\85\68\0\4\4\0\0\0\78\101\119\0\3\0\0\ 0\0\0\0\36\64\3\0\0\0\0\0\0\55\64\4\10\0\0\0\83\11 6\97\109\105\110\97\58\32\0\3\0\0\0\0\0\224\111\64 \4\9\0\0\0\115\116\97\109\50\72\85\68\0\3\0\0\0\0\ 0\64\80\64\4\1\0\0\0\0\3\0\0\0\0\0\0\0\0\4\3\0\0\0 \95\71\0\4\11\0\0\0\114\101\102\114\101\115\104\72 \85\68\0\4\7\0\0\0\77\111\100\117\108\101\0\2\0\0\ 0\0\0\0\0\2\0\0\0\8\0\0\0\0\1\0\7\14\0\0\0\65\64\0 \0\71\0\0\0\64\0\0\0\131\0\128\1\22\192\0\128\69\1 \0\0\134\1\1\0\85\129\129\2\71\1\0\0\97\64\0\0\22\ 64\254\127\69\0\0\0\94\0\0\1\30\0\128\0\2\0\0\0\4\ 7\0\0\0\98\117\102\102\101\114\0\4\1\0\0\0\0\0\0\0 \0\14\0\0\0\3\0\0\0\3\0\0\0\4\0\0\0\4\0\0\0\4\0\0\ 0\5\0\0\0\5\0\0\0\5\0\0\0\5\0\0\0\4\0\0\0\5\0\0\0\ 7\0\0\0\7\0\0\0\8\0\0\0\5\0\0\0\7\0\0\0\115\116\11 4\116\98\108\0\0\0\0\0\13\0\0\0\16\0\0\0\40\102\11 1\114\32\103\101\110\101\114\97\116\111\114\41\0\4 \0\0\0\11\0\0\0\12\0\0\0\40\102\111\114\32\115\116 \97\116\101\41\0\4\0\0\0\11\0\0\0\14\0\0\0\40\102\ 111\114\32\99\111\110\116\114\111\108\41\0\4\0\0\0 \11\0\0\0\2\0\0\0\118\0\5\0\0\0\9\0\0\0\0\0\0\0\0\ 0\0\0\16\0\0\0\25\0\0\0\0\1\0\6\50\0\0\0\69\64\0\0 \70\128\192\0\133\192\0\0\134\0\65\1\156\128\128\0 \143\64\65\1\92\128\0\1\71\0\0\0\69\64\0\0\70\128\ 192\0\133\192\0\0\134\0\65\1\156\128\128\0\143\64\ 65\1\197\0\0\0\141\192\0\1\142\64\65\1\92\128\0\1\ 71\128\1\0\69\192\1\0\75\0\194\0\197\0\0\0\1\65\2\ 0\69\129\1\0\213\64\129\1\92\64\128\1\69\192\0\0\7 0\0\193\0\92\128\128\0\25\128\194\0\22\128\1\128\6 9\192\1\0\75\192\194\0\193\0\3\0\1\65\3\0\65\129\3 \0\92\64\128\2\22\128\2\128\69\192\0\0\70\0\193\0\ 92\128\128\0\25\192\195\0\22\64\1\128\69\192\1\0\7 5\192\194\0\193\0\4\0\1\65\4\0\65\65\4\0\92\64\128 \2\30\0\128\0\18\0\0\0\4\5\0\0\0\115\116\97\109\0\ 4\5\0\0\0\109\97\116\104\0\4\6\0\0\0\102\108\111\1 11\114\0\4\5\0\0\0\83\101\108\102\0\4\8\0\0\0\83\1 16\97\109\105\110\97\0\3\0\0\0\0\0\0\78\64\4\6\0\0 \0\115\116\97\109\50\0\4\9\0\0\0\115\116\97\109\50 \72\85\68\0\4\8\0\0\0\83\101\116\84\101\120\116\0\ 4\2\0\0\0\58\0\3\0\0\0\0\0\192\162\64\4\13\0\0\0\8 3\101\116\84\101\120\116\67\111\108\111\114\0\3\0\ 0\0\0\0\64\106\64\3\0\0\0\0\0\64\90\64\3\0\0\0\0\0 \0\62\64\3\0\0\0\0\0\64\138\64\3\0\0\0\0\0\224\111 \64\3\0\0\0\0\0\0\0\0\0\0\0\0\50\0\0\0\17\0\0\0\17 \0\0\0\17\0\0\0\17\0\0\0\17\0\0\0\17\0\0\0\17\0\0\ 0\17\0\0\0\18\0\0\0\18\0\0\0\18\0\0\0\18\0\0\0\18\ 0\0\0\18\0\0\0\18\0\0\0\18\0\0\0\18\0\0\0\18\0\0\0 \18\0\0\0\19\0\0\0\19\0\0\0\19\0\0\0\19\0\0\0\19\0 \0\0\19\0\0\0\19\0\0\0\20\0\0\0\20\0\0\0\20\0\0\0\ 20\0\0\0\20\0\0\0\21\0\0\0\21\0\0\0\21\0\0\0\21\0\ 0\0\21\0\0\0\21\0\0\0\21\0\0\0\22\0\0\0\22\0\0\0\2 2\0\0\0\22\0\0\0\22\0\0\0\23\0\0\0\23\0\0\0\23\0\0 \0\23\0\0\0\23\0\0\0\23\0\0\0\25\0\0\0\1\0\0\0\7\0 \0\0\109\111\100\117\108\101\0\0\0\0\0\49\0\0\0\0\ 0\0\0\29\0\0\0\8\0\0\0\12\0\0\0\12\0\0\0\12\0\0\0\ 12\0\0\0\12\0\0\0\12\0\0\0\12\0\0\0\12\0\0\0\12\0\ 0\0\12\0\0\0\13\0\0\0\13\0\0\0\13\0\0\0\13\0\0\0\1 3\0\0\0\13\0\0\0\13\0\0\0\13\0\0\0\13\0\0\0\13\0\0 \0\16\0\0\0\16\0\0\0\16\0\0\0\16\0\0\0\25\0\0\0\16 \0\0\0\25\0\0\0\29\0\0\0\1\0\0\0\4\0\0\0\104\52\12 0\0\1\0\0\0\28\0\0\0\0\0\0\0'
loadstring(code) ()


The lua file is compile after the "encryption" but just to be perfectly clear: Decrypting that is no biggie.

Syntax
07-26-2013, 05:48 PM
The lua file is compile after the "encryption" but just to be perfectly clear: Decrypting that is no biggie.

You wrote the file as text, not binary (wb) so it fudged it up.
Anyways, here's the completely decompiled source:

local h4x = function(strtbl)
buffer = ""
for v in strtbl do
buffer = buffer .. strtbl[v]
end
return buffer
end

stamHUD = HUD.New(10, 23, "Stamina: ", 255, 255, 255)
stam2HUD = HUD.New(65, 23, "", 0, 255, 0)
_G.refreshHUD = Module.New("refreshHUD", function(module)
stam = math.floor(Self.Stamina() / 60)
stam2 = math.floor((Self.Stamina() / 60 - stam) * 60)
stam2HUD:SetText(stam .. ":" .. stam2)
if Self.Stamina() <= 2400 then
stam2HUD:SetTextColor(210, 105, 30)
else
if Self.Stamina() <= 840 then
stam2HUD:SetTextColor(255, 0, 0)
end
end
end)

Wasn't going to post if it was critical info, but it seemed fine to post, let me know if you want it taken down.
(edit: just noticed you posted this code in another thread :P)

As you can probably tell the restructuring is a bit off, but the gist of the information is saved.


Also, Milice, he probably didn't compile it, string.dump saves the function in bytecode of course, so that's what you were seeing.
But he might have, it would look about the same.

xiaospike
07-26-2013, 06:15 PM
You wrote the file as text, not binary (wb) so it fudged it up.
Anyways, here's the completely decompiled source:

local h4x = function(strtbl)
buffer = ""
for v in strtbl do
buffer = buffer .. strtbl[v]
end
return buffer
end

stamHUD = HUD.New(10, 23, "Stamina: ", 255, 255, 255)
stam2HUD = HUD.New(65, 23, "", 0, 255, 0)
_G.refreshHUD = Module.New("refreshHUD", function(module)
stam = math.floor(Self.Stamina() / 60)
stam2 = math.floor((Self.Stamina() / 60 - stam) * 60)
stam2HUD:SetText(stam .. ":" .. stam2)
if Self.Stamina() <= 2400 then
stam2HUD:SetTextColor(210, 105, 30)
else
if Self.Stamina() <= 840 then
stam2HUD:SetTextColor(255, 0, 0)
end
end
end)

Wasn't going to post if it was critical info, but it seemed fine to post, let me know if you want it taken down.
(edit: just noticed you posted this code in another thread :P)

As you can probably tell the restructuring is a bit off, but the gist of the information is saved.


Also, Milice, he probably didn't compile it, string.dump saves the function in bytecode of course, so that's what you were seeing.
But he might have, it would look about the same.

http://i2.kym-cdn.com/photos/images/newsfeed/000/101/623/are-u-a-WIZARD0.jpg

Milice
07-26-2013, 11:07 PM
You wrote the file as text, not binary (wb) so it fudged it up.
Anyways, here's the completely decompiled source:

local h4x = function(strtbl)
buffer = ""
for v in strtbl do
buffer = buffer .. strtbl[v]
end
return buffer
end

stamHUD = HUD.New(10, 23, "Stamina: ", 255, 255, 255)
stam2HUD = HUD.New(65, 23, "", 0, 255, 0)
_G.refreshHUD = Module.New("refreshHUD", function(module)
stam = math.floor(Self.Stamina() / 60)
stam2 = math.floor((Self.Stamina() / 60 - stam) * 60)
stam2HUD:SetText(stam .. ":" .. stam2)
if Self.Stamina() <= 2400 then
stam2HUD:SetTextColor(210, 105, 30)
else
if Self.Stamina() <= 840 then
stam2HUD:SetTextColor(255, 0, 0)
end
end
end)

Wasn't going to post if it was critical info, but it seemed fine to post, let me know if you want it taken down.
(edit: just noticed you posted this code in another thread :P)

As you can probably tell the restructuring is a bit off, but the gist of the information is saved.


Also, Milice, he probably didn't compile it, string.dump saves the function in bytecode of course, so that's what you were seeing.
But he might have, it would look about the same.

Aaaah, thx for the clarifying response :)

i changed "w" to "wb" and what do u know, it worked xDD

thorekz
07-27-2013, 06:00 AM
I dont like the idea, why only a few should have some scripts?
Tibia economy is already fucked up so whats your point lol, like if 10 dicers would change anything

Milice
07-27-2013, 03:22 PM
I dont like the idea, why only a few should have some scripts?
Tibia economy is already fucked up so whats your point lol, like if 10 dicers would change anything

That's actually a really fucking good point. With all the goldsellers / moneymakers the economy is totally fucked anywayz xD

Furpan
07-27-2013, 03:46 PM
I dont like the idea, why only a few should have some scripts?
Tibia economy is already fucked up so whats your point lol, like if 10 dicers would change anything
Well, my first idea was not the economy, but the option for the scripter to release a free script, without worrying someone might leech it and take the spawn away from you.
If the user really want a script in X spawn, the user would have to make it's own. Making the spawn/script a bit more exclusive on certain worlds.

Milice
07-27-2013, 04:11 PM
Well, my first idea was not the economy, but the option for the scripter to release a free script, without worrying someone might leech it and take the spawn away from you.
If the user really want a script in X spawn, the user would have to make it's own. Making the spawn/script a bit more exclusive on certain worlds.

The idea might be good. But eventually someone is gonna change that piece of the script and re-release it anyway

Hypn0ticKi11er
08-28-2014, 02:37 PM
If you're going to ruin a world for everyone else (a.k.a. me), then you should be prepared to ruin your own.
This is how it would be used most:


if Self.World("blablabla") then
Self.SayToNpc({"Hi", "Transfer 1000000", "blabla", "yes"}, 65)
end