Jump to content
  • 0

Primeshop / Items Mall Gf Issues


Jojo_

Question

Hi hi.
First let seem what I use :
GF MyExt64 for L2Server.
My setting are these :

[Premium]
enable=true
address="127.0.0.1"
port=25123
heartbeat=10000
pause=false
cashShopPause=false
 
[PremiumUser]
PCCafe=true
ExpBoost=200
SpBoost=300
SpoilBoost=200
DropBoost=200
the button in game was not here if i put them at false :)
so my question is how to populate this :
c531m9ivea1j9038c1t9u2lkz.png

I have seen my script file : productdata.ini
It seem to have quite a lot entry so though it would be good as no error were throw by the server.
But as it was empty I tried to put one line and still no error but still empty in game :)
here what a line look like :
product_begin id=1080001 name={p_br_cash_fortuna_box_c} category=5 /*etc*/ price=500 is_event_product=0 is_best_product=1 is_new_product=0 buyable=1 buy_condition={} sale_start_date={1980/01/01 08:00} sale_end_date={2079/06/01 08:00} location_id=8 /*ru*/ items={{[br_cash_fortuna_box_c];1}} server_type=free product_end

Edit :
See bidi1252 post for premium server EXE it does not solve but that a step closer :)

Edited by Jojo_
Link to comment
Share on other sites

12 answers to this question

Recommended Posts

  • 0

Still in need, I make a double reply to add a comment about it.
The files in server seem fine, it does read it at launch but if i pause and resume the server it show this :
LEXER_ERROR Invalide char[]

yet I does not say any char so ?
beside it i have no idea what wrong :X

Link to comment
Share on other sites

  • 0

Do you have it encoded in UTF-16LE?

I don't have modded files from Leak and tried several, ad one from the team that offer a test period it does the same.

and when I check with notepad++ it seem to be that encoding.

 

about Premium server ? what is that another exe to launch ?

Don't seem to be required as th server exe try to look for the file itself ?

Or is that related to IBServer?

Edited by Jojo_
Link to comment
Share on other sites

  • 0

it seem be working in my end, only a quack because I used a modded, and baddly modded productdata.txt :)

Yet thanks a lot for this :)

error : 
"Dummy packet called opCode[1a]!
Client disconnected err[c0000241] ip[127.0.0.1]" 

also gameserver show this error : 
[.\PremiumService.cpp][318] Request from [256], but reply to [1]
CPremiumServiceSocket Close 7ee9c(273fbcc4). GetLastError(64)

Edit 1 :
Okay seem that error "Request from [xxx], but reply to [1]" is linked to server ID.
How to make them match i have no idea i am trying severals things

Edit 2 :
Definitly rely on server ID. 
when you input a server ID different than 1 it multiply that nmber by 256.

For exemple ID 1 for server the error will be :
[.\PremiumService.cpp][318] Request from [256], but reply to [1]

CPremiumServiceSocket Close 7ee9c(273fbcc4). GetLastError(64)


and if you change your server id to 256 it will be :

[.\PremiumService.cpp][318] Request from [65536], but reply to [256]

CPremiumServiceSocket Close 7ee9c(273fbcc4). GetLastError(64)


Now how to force that premium server exe to not play around like that I have no idea.
If i find something i will edit again.

Edited by Jojo_
Link to comment
Share on other sites

  • 0

Seems like some packet has different structure and some ID in that packet is shifted by one byte - that's the reason it multiplies it by 256

 

I fear you'll need to extend the premium server somehow

Link to comment
Share on other sites

  • 0

sadly that out of my knowledge.
(at base i am more on 3D animations :X)
And i am at the very beginning of L2off stuffs.
Slowly I try to learn for project like your but I must admit I pretty easly lost ahah.

So about that issue would that also mean the one that made that Premium server used an extender in Server to change the packet ? or some kind of "custom packet" ?

Link to comment
Share on other sites

  • 0

So about that issue would that also mean the one that made that Premium server used an extender in Server to change the packet ? or some kind of "custom packet" ?

 

I think they probably used different server version, maybe something C4-based

Link to comment
Share on other sites

  • 0

I have seen that with IDA pro you can manipulate engine.dll from client, wouldn't the same be appliable there to force server id to be 1 ?
I ask before spending night for that ^^

Link to comment
Share on other sites

  • 0

I fear there will be more changed packets - but yes, it's possible to extend it

 

I fear you'll need to extend the premium server somehow

Link to comment
Share on other sites

  • 0

Hi hi.

First let seem what I use :

GF MyExt64 for L2Server.

My setting are these :

[Premium]
enable=true
address="127.0.0.1"
port=25123
heartbeat=10000
pause=false
cashShopPause=false
 
[PremiumUser]
PCCafe=true
ExpBoost=200
SpBoost=300
SpoilBoost=200
DropBoost=200
the button in game was not here if i put them at false :)

so my question is how to populate this :

c531m9ivea1j9038c1t9u2lkz.png

 

I have seen my script file : productdata.ini

It seem to have quite a lot entry so though it would be good as no error were throw by the server.

But as it was empty I tried to put one line and still no error but still empty in game :)

here what a line look like :

product_begin id=1080001 name={p_br_cash_fortuna_box_c} category=5 /*etc*/ price=500 is_event_product=0 is_best_product=1 is_new_product=0 buyable=1 buy_condition={} sale_start_date={1980/01/01 08:00} sale_end_date={2079/06/01 08:00} location_id=8 /*ru*/ items={{[br_cash_fortuna_box_c];1}} server_type=free product_end

Edit :

See bidi1252 post for premium server EXE it does not solve but that a step closer :)

do have premium server  ? because "bidi1252" link is dead...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...