Most visitors online was 8830 , on 6 Feb 2024
Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!
Join Today!Hey guys!, any ideas on how to set reward item? I have set it on Attendance_gs.nut in glogicserver and also Attendance.ini file but it still does not show up
nothing happen even if its up server did you have any idea?Try it on live server first
Hey guys!, any ideas on how to set reward item? I have set it on Attendance_gs.nut in glogicserver and also Attendance.ini file but it still does not show up
Actually, i haven't tried it yet. I Just saw the script and the functions. I'll try later and see if i could figure it out.nothing happen even if its up server did you have any idea?
Actually, i haven't tried it yet. I Just saw the script and the functions. I'll try later and see if i could figure it out.
//
// 보상 아이템 설정
//
//Note: Squirrel은 zero-base이므로 혼란을 줄이기 위해 모든 코드는 0-base로 작성하도록 한다.
RewardItems <- {}
RewardItems[0] <- {} // 1일 연속 출석
RewardItems[0][0] <- {mid=3261,sid=1} // 1일 출석 선물상자
// ...
RewardItems[1] <- {} // 2일 연속 출석
RewardItems[1][0] <- {mid=3261,sid=2} // 2일 출석 선물상자
// ...
RewardItems[2] <- {} // 3일 연속 출석
RewardItems[2][0] <- {mid=3261,sid=3} // 3일 출석 선물상자
// ...
RewardItems[3] <- {} // 4일 연속 출석
RewardItems[3][0] <- {mid=3261,sid=4} // 4일 출석 선물상자
// ...
RewardItems[4] <- {} // 5일 연속 출석
RewardItems[4][0] <- {mid=3261,sid=5} // 5일 출석 선물상자
// ...
RewardItems[5] <- {} // 6일 연속 출석
RewardItems[5][0] <- {mid=3261,sid=6} // 6일 출석 선물상자
// ...
RewardItems[6] <- {} // 7일 연속 출석
RewardItems[6][0] <- {mid=3261,sid=7} // 7일 출석 선물상자
// ...
my server is up and running but it still does not show up
data/glogicserver/scripts/Attendance_gs.nut
Line 371 to 374
m_arrRandomRewardType =
[RewardTypes.Exp, RewardTypes.Point, RewardTypes.Money, RewardTypes.Exp, RewardTypes.Point],
[RewardTypes.Exp, RewardTypes.Point, RewardTypes.Money, RewardTypes.Exp, RewardTypes.Point],
[RewardTypes.Exp, RewardTypes.Point, RewardTypes.Money, RewardTypes.Exp, RewardTypes.Point],
[RewardTypes.Exp, RewardTypes.Point, RewardTypes.Money, RewardTypes.Exp, RewardTypes.Point]
To
[RewardTypes.Exp, RewardTypes.Point, RewardTypes.Money, RewardTypes.Exp, RewardTypes.Item],
[RewardTypes.Exp, RewardTypes.Point, RewardTypes.Money, RewardTypes.Exp, RewardTypes.Item],
[RewardTypes.Exp, RewardTypes.Point, RewardTypes.Money, RewardTypes.Exp, RewardTypes.Item],
[RewardTypes.Exp, RewardTypes.Point, RewardTypes.Money, RewardTypes.Exp, RewardTypes.Item]
Also make sure to put an existing item id (mine's 454,35 to 41)
View attachment 169634
Note: You can see the result from a newly created character (you might also wanna check on emulator)
All existing character attendance needs to be reset.
wMaxGrade = 15, -- 최고 연마수치 제한;
wDamageByGrade = 4, -- 연마 등급당 공격력 증가량;
wDefenceByGrade = 3, -- 연마 등급당 방어력 증가량;
fDamageRateByGrade = 13, -- 연마 등급당 공격력 증가율;
fDefenceRateByGrade = 17, -- 연마 등급당 방어력 증가율;
wMaxResist = 9, -- 최고 저항 연마수치 제한;
wFireResistByGrade = 1, -- 연마 등급당 증가 저항 수치 ( 화 );
wIceResistByGrade = 1, -- 연마 등급당 증가 저항 수치 ( 빙 );
wElectricResistByGrade = 1, -- 연마 등급당 증가 저항 수치 ( 전 );
wPoisonResistByGrade = 1, -- 연마 등급당 증가 저항 수치 ( 독 );
wSpiritResistByGrade = 1, -- 연마 등급당 증가 저항 수치 ( 정 );
@Anyone know why specialtool > maplist is not saving? When i close the editor, and re-open its still in the previous setting but the lua is already updated. But when i apply the updated Lua. Its not changing in-game.