[SP-JJCP] The World SS3 - EN v0.04c

This is where fulfilled requests go. You can make a new thread here if you edit a map and want to share it, such as if you cheat a new map without anybody actually requesting it.

Moderator: Cheaters

User avatar
whitegun
Old Wrinkly Member
Posts: 219
Joined: April 21st, 2009, 12:30 am
Location: Việt Nam

Re: [JJCP] [EN]twrpgS3v0.04b_Fixed

Post by whitegun »

Sorry, but first the requester on that topic you mention say that he have no problem with single player then i just add JJCP( i say i "added JJCP" not "Enable SP").
But the strange here is that the map i added JJCP, i can play the map normally without crash.(most of you guy play this map have crash).
Apple
Forum Staff
Posts: 1470
Joined: November 3rd, 2010, 10:48 am
Title: Best Player
Location: Singapore

Re: [JJCP] [EN]twrpgS3v0.04b_Fixed

Post by Apple »

whitegun wrote:Sorry, but first the requester on that topic you mention say that he have no problem with single player then i just add JJCP( i say i "added JJCP" not "Enable SP").
But the strange here is that the map i added JJCP, i can play the map normally without crash.(most of you guy play this map have crash).
hey buddy, try fulfilling this? I'm a little tired with codes today.
I didn't even manage to enable sp for this, with bart's way on twrpgs2.
Request a map? Follow the rulesHERE
Request templateHERE
Please, do not PM me.
On the side note, I'm still playing vampirism speed on malaysia room, occasionally in Garena. Bcuz too lazy to find out where else I can play them.
Kyoshiro
Forum Staff
Posts: 762
Joined: October 27th, 2009, 12:18 pm
Location: Australia, GMT+8

Re: [JJCP] [EN]twrpgS3v0.04b_Fixed

Post by Kyoshiro »

call Preloader("Snowglobe2.mdx")
delete that line
Spoiler for contents of Snowglobe2.mdx:
function PreloadFiles takes nothing returns nothing
local integer i=11
if ReloadGameCachesFromDisk() then
loop
call SetPlayerName(Player(i),"This map cannot be played in single player.")
exitwhen i==0
set i=i-1
endloop
call EndGame(true)
endif
endfunction
If you have any questions drop in by chat sometime, chances are there'll be someone who can help you that's afking there, so the next best thing is to click the link on UndeadxAssassin's Sig and ask your question there.
Apple
Forum Staff
Posts: 1470
Joined: November 3rd, 2010, 10:48 am
Title: Best Player
Location: Singapore

Re: [JJCP] [EN]twrpgS3v0.04b_Fixed

Post by Apple »

Kyoshiro wrote:call Preloader("Snowglobe2.mdx")
delete that line
Spoiler for contents of Snowglobe2.mdx:
function PreloadFiles takes nothing returns nothing
local integer i=11
if ReloadGameCachesFromDisk() then
loop
call SetPlayerName(Player(i),"This map cannot be played in single player.")
exitwhen i==0
set i=i-1
endloop
call EndGame(true)
endif
endfunction
deleted, it still can't be played in SP...
Request a map? Follow the rulesHERE
Request templateHERE
Please, do not PM me.
On the side note, I'm still playing vampirism speed on malaysia room, occasionally in Garena. Bcuz too lazy to find out where else I can play them.
User avatar
Bartimaeus
Tyrannical Drama Queen
Posts: 4430
Joined: November 19th, 2007, 5:05 am
Been thanked: 2 times

Re: [JJCP] [EN]twrpgS3v0.04b_Fixed

Post by Bartimaeus »

There's another "if ReloadGameCachesFromDisk() then" somewhere in the .j file - as far as I can tell, that's basically another way of checking if the game is singleplayer. There should also be a DisableSaving/DisableLoading triggers...and if I recall, the DisableTrigger(ov) or whatever, (basically, the one for saving), is repeated somewhere else, so look into that, too. There might have been one other thing, but I can't remember what if so.
Apple
Forum Staff
Posts: 1470
Joined: November 3rd, 2010, 10:48 am
Title: Best Player
Location: Singapore

Re: [JJCP] [EN]twrpgS3v0.04b_Fixed

Post by Apple »

Bartimaeus wrote:There's another "if ReloadGameCachesFromDisk() then" somewhere in the .j file - as far as I can tell, that's basically another way of checking if the game is singleplayer. There should also be a DisableSaving/DisableLoading triggers...and if I recall, the DisableTrigger(ov) or whatever, (basically, the one for saving), is repeated somewhere else, so look into that, too. There might have been one other thing, but I can't remember what if so.
Here it is, I don't know how to, what to do with it. Never had this in my experience.
Spoiler:

Code: Select all

function CodeVersioning__IsGameOffline takes nothing returns boolean
return ReloadGameCachesFromDisk()
endfunction
function h84 takes nothing returns nothing
call hK("-save","-load",Condition(function h74),Condition(function g_4))
if ((ReloadGameCachesFromDisk()))then
set mV=hl("abcdefghijlkponmqrstuvwxyzABCDEFGHKLMNOPQRSTUVWXYZ0123456789@#$%&?")
set KV=JV
set lV="password"
set LV=2
else
set mV=hl("abcdefghijlkponmqrstuvwxyzABCDEFGHKLMNOPQRSTUVWXYZ0123456789@#$%&?")
set KV=jV
set lV="password"
set LV=2
endif
endfunction
Here's another Preloader... Don't know what to do either...
Spoiler:

Code: Select all

function hn4 takes integer G9,integer H9,string M9,eventid V9 returns integer
local gamecache Mu=InitGameCache(o[40])
local string gx4=o[29]
local integer I9=0
local integer fJ=0
local player Z9=null
if G9==0then
set gx4=SubString(M9,0,5)
set Mu=InitGameCache(M9)
set o[40]=M9
call Preloader(gx4)
set n7[2]=false
set n7[1]=true
set I9=16
loop
exitwhen I9>33
set o[I9]=Hu(Mu,M9,I2S(I9))
set I9=I9+1
endloop
set I9=0
loop
set o[fJ]="|cff"+SubString(o[17],I9,I9+6)
set fJ=fJ+1
if fJ<13then
set I9=I9+6
endif
exitwhen fJ>$F
endloop
set I9=0
loop
exitwhen I9>$B
set d9[I9]=InitHashtableBJ()
set W[I9]=CreateGroup()
set A7[I9]=CreateTrigger()
set I9=I9+1
endloop
set H9=GetHandleIdBJ(d9[0])
set fJ=hw(Mu,o[40],o[40])
set I9=0
loop
set Z9=Player(I9)
if s6(Z9)then
call zd(Z9,x3(261))
call zd(Z9,x3(263))
call zd(Z9,x3(267))
call zd(Z9,x3(265))
call zd(Z9,x3(17))
call Y9(A7[0],Z9,o[20],n7[2])
set G9=G9+1
endif
set I9=I9+1
exitwhen I9==fJ
endloop
call X9(A7[1],z3(24))
call X9(A7[1],z3(40))
call S9(A7[1],function g5)
call l9(0,1,H9)
call l9(0,2,G9)
elseif G9==1then
loop
set o[I9+H9]=SubString(M9,I9,I9+1)
set I9=I9+1
exitwhen I9>=StringLength(M9)
endloop
elseif G9==2then
if V9==x3(17)then
set fJ=17
elseif V9==x3(261)then
set fJ=261
elseif V9==x3(263)then
set fJ=263
elseif V9==x3(267)then
set fJ=267
elseif V9==x3(265)then
set fJ=265
endif
set fJ=bx(o[28],I2S(fJ))
endif
return fJ
endfunction
Request a map? Follow the rulesHERE
Request templateHERE
Please, do not PM me.
On the side note, I'm still playing vampirism speed on malaysia room, occasionally in Garena. Bcuz too lazy to find out where else I can play them.
CrossWing
Newcomer
Posts: 15
Joined: November 26th, 2012, 1:01 am

Re: [SP] [EN]twrpgS3v0.04c

Post by CrossWing »

now my friend can enable SP mode :D
i change tag to SP only :)
You do not have the required permissions to view the files attached to this post.
sinnist
Junior Member
Posts: 25
Joined: September 11th, 2012, 6:53 pm

Re: [SP] The World SS3 - EN v0.04c

Post by sinnist »

Can this still be completed with JjCP as originally requested or should I post a new topic now that it's changed?
User avatar
Bartimaeus
Tyrannical Drama Queen
Posts: 4430
Joined: November 19th, 2007, 5:05 am
Been thanked: 2 times

Re: [SP] The World SS3 - EN v0.04c

Post by Bartimaeus »

@Dog, the preloader bit is fine, (I think).

For the other thing, this is what I would do...

if ((ReloadGameCachesFromDisk()))then
set mV=hl("abcdefghijlkponmqrstuvwxyzABCDEFGHKLMNOPQRSTUVWXYZ0123456789@#$%&?")
set KV=jV
set lV="password"
set LV=2
else
set mV=hl("abcdefghijlkponmqrstuvwxyzABCDEFGHKLMNOPQRSTUVWXYZ0123456789@#$%&?")
set KV=jV
set lV="password"
set LV=2

Since ReloadGameCachesFromDisk seems to detect if you're playing in singleplayer, you'd want it to use the stuff that it wasn't using in singleplayer.
Apple
Forum Staff
Posts: 1470
Joined: November 3rd, 2010, 10:48 am
Title: Best Player
Location: Singapore

Re: [SP] The World SS3 - EN v0.04c

Post by Apple »

Bartimaeus wrote:@Dog, the preloader bit is fine, (I think).

For the other thing, this is what I would do...

if ((ReloadGameCachesFromDisk()))then
set mV=hl("abcdefghijlkponmqrstuvwxyzABCDEFGHKLMNOPQRSTUVWXYZ0123456789@#$%&?")
set KV=jV
set lV="password"
set LV=2
else
set mV=hl("abcdefghijlkponmqrstuvwxyzABCDEFGHKLMNOPQRSTUVWXYZ0123456789@#$%&?")
set KV=jV
set lV="password"
set LV=2

Since ReloadGameCachesFromDisk seems to detect if you're playing in singleplayer, you'd want it to use the stuff that it wasn't using in singleplayer.
I see you changed the JV to jV,
they both are constant integers of the same value.
what happens if you change it?
Can you explain i'm confused.
Tested and it still didn't work on SP the characters are not shown.
Request a map? Follow the rulesHERE
Request templateHERE
Please, do not PM me.
On the side note, I'm still playing vampirism speed on malaysia room, occasionally in Garena. Bcuz too lazy to find out where else I can play them.