
Originally Posted by
Bola
wrong version iweb
Thanks Bola for reply yea infact the iweb was version 1.4.8 so i removed the iweb folder from /home/jakarta/webapps/iweb
and copied the new version from cpackage 1.5.1
I followed these steps changed the iweb.conf file in /etc/iweb.conf i matched the ips with /home/gdeliveryd/gamesys.conf
gamesys.conf
Code:
[LogclientClient]
type = udp
port = 11100
address = 127.0.0.1
so_sndbuf = 16384
so_rcvbuf = 16384
ibuffermax = 16384
obuffermax = 1048576
accumulate = 1048576
[LogclientTcpClient]
type = tcp
port = 11101
address = 127.0.0.1
so_sndbuf = 16384
so_rcvbuf = 16384
ibuffermax = 16384
obuffermax = 1048576
accumulate = 1048576
[Intervals]
account_interval = 600
delrole_interval = 60
checkforbidlogin_interval = 60
[GDeliveryServer]
zoneid = 1
aid = 1
freeaid = 1
zondname = joslian
max_player_num = 6000
type = tcp
port = 29100
address = 127.0.0.1
so_sndbuf = 65536
so_rcvbuf = 65536
ibuffermax = 1048576
obuffermax = 1048576
tcp_nodelay = 0
listen_backlog = 10
accumulate = 1048576
mtrace = /tmp/m_trace.link
pvp = 0
battlefield = 0
sellpoint = 0
freecreatime = 0
max_name_len = 32
table_name = rolename.txt
name_charset = ASCII
;table_charset = UCS2
table_charset = GBK
district_id = districtzone
recalloldplayer = 1
token_login_support = true
lan_ip_list = 124.193.167.1,118.114.253.16,119.153.48.1
is_central_ds = false
[GAuthClient]
type = tcp
port = 29200
address = 127.0.0.1
so_sndbuf = 65536
so_rcvbuf = 65536
ibuffermax = 1048576
obuffermax = 131072
;so_broadcast = 1
tcp_nodelay = 0
accumulate = 131072
;isec = 2
;iseckey = authiseckey
;osec = 2
;oseckey = authoseckey
;shared_key = authsharedkey
au_cert = false
[GProviderServer]
id = 0
type = tcp
port = 29300
address = 127.0.0.1
so_sndbuf = 65536
so_rcvbuf = 65536
ibuffermax = 1048576
obuffermax = 1048576
;so_broadcast = 1
tcp_nodelay = 0
accumulate = 268435456
[UniqueNameClient]
type = tcp
port = 29401
address = 127.0.0.1
so_sndbuf = 65536
so_rcvbuf = 65536
ibuffermax = 1048576
obuffermax = 1048576
;so_broadcast = 1
tcp_nodelay = 0
accumulate = 268435456
;isec = 2
;iseckey = unameiseckey
;osec = 2
;oseckey = unameoseckey
[GameDBClient]
type = tcp
port = 29400
address = 127.0.0.1
so_sndbuf = 65536
so_rcvbuf = 65536
ibuffermax = 1048576
obuffermax = 1048576
;so_broadcast = 1
tcp_nodelay = 0
accumulate = 268435456
[GAntiCheatClient]
type = tcp
port = 29702
address = 127.0.0.1
so_sndbuf = 65536
so_rcvbuf = 65536
ibuffermax = 1638400
obuffermax = 1638400
;so_broadcast = 1
tcp_nodelay = 0
accumulate = 268435456
[GFactionClient]
type = tcp
port = 29500
address = 127.0.0.1
so_sndbuf = 65536
so_rcvbuf = 65536
ibuffermax = 1638400
obuffermax = 1638400
;so_broadcast = 1
tcp_nodelay = 0
accumulate = 268435456
[ThreadPool]
threads = (1,3)(100,1)(101,1)(0,1)
max_queuesize = 1048576
prior_strict = 1
[BattleBonus]
id = 36907
countoflevel1 = 3
countoflevel2 = 4
countoflevel3 = 6
maxcount = 50000
proctype = 0
specialid = 28350
countofspecial = 1
specialproctype = 0
maxcountofspecial = 999
[ConsumeReward]
open = 1
begin_time = 2011-12-15-9
end_time = 2012-1-16-1
reward_type = (2900,300)(9900,1200)(19900,2800)(29900,4500)
reward_time = (1,1)
[SNSClient]
type = tcp
port = SNSCLIENTPORT
address = SNSCLIENTADDRESS
so_sndbuf = 16384
so_rcvbuf = 16384
ibuffermax = 1638400
obuffermax = 1638400
tcp_nodelay = 0
accumulate = 268435456
[COUNTRYBATTLE]
occupation0 = 1.05;0.4;1.4;1.2;0;1.2
occupation1 = 1;0.4;1;1;0;1
occupation2 = 1;0.4;1;1;0;1
occupation3 = 1.1;0.4;1.2;1.2;0;1.2
occupation4 = 1.1;0.4;1.5;1.2;0;1.2
occupation5 = 1;0.4;1;1;0;1
occupation6 = 1;0.4;1;1;0;1
occupation7 = 1.05;0.4;1.5;1.1;0;1.1
occupation8 = 1.1;0.4;1.2;1;0;1.2
occupation9 = 1.05;0.4;1.2;1.2;0;1.2
score_limit = 0.3
win_count_limit = 1
death_count_limit = 5
total_bonus = 85000
is_countrybattle_open = 1
combat_time_limit = 300
contribute_val_limit = 10
kingelection_open=0
open_day=0,5
[TANKBATTLE]
is_tankbattle_open = 0
open_day = 2,4
start_time = 19:00
end_time = 20:00
min_time = 20
max_time = 30
no_new_battle_time = 15
cant_enter_time = 2
max_player = 100
bonus_item_id = 41074
bonus_proctype = 16403
bonus_max_count = 10000
bonus_count = (1,50)(2,25)(3,15)(10,10)(50,6)(200,4)(1000,2)(99999999,1)
/etc/iweb.conf
Code:
[GameDBClient]
type = tcp
port = 29400
address = 127.0.0.1
so_sndbuf = 65536
so_rcvbuf = 65536
ibuffermax = 1048576
obuffermax = 1048576
so_broadcast = 1
udp_nodelay = 1
[DeliveryClient]
type = tcp
port = 29100
address = 127.0.0.1
so_sndbuf = 65536
so_rcvbuf = 65536
ibuffermax = 1048576
obuffermax = 1048576
so_broadcast = 1
udp_nodelay = 1
[FactionClient]
type = tcp
port = 29500
address = 127.0.0.1
so_sndbuf = 65536
so_rcvbuf = 65536
ibuffermax = 1048576
obuffermax = 1048576
so_broadcast = 1
udp_nodelay = 1
[UniqueNameClient]
type = tcp
port = 29401
address = 127.0.0.1
so_sndbuf = 65536
so_rcvbuf = 65536
ibuffermax = 1048576
obuffermax = 1048576
;so_broadcast = 1
tcp_nodelay = 0
accumulate = 268435456
isec = 2
iseckey = unameiseckey
osec = 2
oseckey = unameoseckey
[ThreadPool]
config = (1,2)
[iweb]
language = en_US
pidon = true
version = 20131118
[version]
version = ipackage.20130708115308
Also i noticed there is another iweb.conf inside /home/jakarta/webapps/iweb/WEB-INF/classes/iweb.conf
I have changed the ips in it as well and the gameDb port from 39400 to 29400
Code:
[GameDBClient]
type = tcp
port = 29400
address = 127.0.0.1
so_sndbuf = 65536
so_rcvbuf = 65536
ibuffermax = 1048576
obuffermax = 1048576
so_broadcast = 1
udp_nodelay = 1
[DeliveryClient]
type = tcp
port = 29100
address = 127.0.0.1
so_sndbuf = 65536
so_rcvbuf = 65536
ibuffermax = 1048576
obuffermax = 1048576
so_broadcast = 1
udp_nodelay = 1
[FactionClient]
type = tcp
port = 29500
address = 127.0.0.1
so_sndbuf = 65536
so_rcvbuf = 65536
ibuffermax = 1048576
obuffermax = 1048576
so_broadcast = 1
udp_nodelay = 1
[UniqueNameClient]
type = tcp
port = 29401
address = 127.0.0.1
so_sndbuf = 65536
so_rcvbuf = 65536
ibuffermax = 1048576
obuffermax = 1048576
;so_broadcast = 1
tcp_nodelay = 0
accumulate = 268435456
isec = 2
iseckey = hgzmbmeyrQaivu2pTikcp1svqcueef
osec = 2
oseckey = 7mlyiidbm0kntvhRgjhjzdczDtbhnh
[ThreadPool]
config = (1, 2)
[Public]
zoneid = 3
savecomplaintodb = false
when i try localhost:8080/iweb i see the following

But if i click on change role info or any other link
i get
HTTP Status 401 - no certs found.
type Status report
message no certs found.
description This request requires HTTP authentication (no certs found.).
Apache Tomcat/7.0.19
I am not sure what i am doing wrong ... Is it the iseckey and oseckey ? should they be as given in cpackage or should it be same as per gdeliveryd/gamesys.conf
Thanks