Skip to content

Commit 7777464

Browse files
committed
Hot Fixes
+ Fixed a lot of Code + Fixed Database Castings + Continued Database Rewriting + Fixed Data Leaks + Removed Quests from Emulator (Partially) (Because Quests are discontinued in Habbo) + Started Cleaning Packet Message Handlers + Now Works totally the Emulator.
1 parent 678715d commit 7777464

62 files changed

Lines changed: 1514 additions & 1443 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

SQL/Database.sql

Lines changed: 67 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
-- http://www.phpmyadmin.net
44
--
55
-- Host: localhost:3306
6-
-- Generation Time: 14-Dez-2015 às 14:07
6+
-- Generation Time: 14-Dez-2015 às 22:35
77
-- Versão do servidor: 5.5.42
88
-- PHP Version: 5.6.10
99

@@ -5570,8 +5570,8 @@ CREATE TABLE `catalog_items` (
55705570
`amounts` varchar(120) CHARACTER SET utf8mb4 NOT NULL,
55715571
`achievement` int(4) unsigned NOT NULL DEFAULT '0',
55725572
`song_id` int(11) unsigned NOT NULL DEFAULT '0',
5573-
`limited_sells` int(11) NOT NULL DEFAULT '0',
5574-
`limited_stack` int(11) NOT NULL DEFAULT '0',
5573+
`limited_sells` int(11) unsigned NOT NULL DEFAULT '0',
5574+
`limited_stack` int(11) unsigned NOT NULL DEFAULT '0',
55755575
`offer_active` enum('0','1') CHARACTER SET utf8mb4 NOT NULL DEFAULT '1',
55765576
`club_only` enum('1','0') CHARACTER SET utf8mb4 NOT NULL DEFAULT '0',
55775577
`extradata` varchar(255) CHARACTER SET utf8mb4 NOT NULL,
@@ -10373,7 +10373,7 @@ CREATE TABLE `catalog_pages` (
1037310373
`enabled` enum('0','1') CHARACTER SET utf8mb4 NOT NULL DEFAULT '1',
1037410374
`min_rank` int(3) unsigned NOT NULL DEFAULT '1',
1037510375
`club_only` enum('0','1') CHARACTER SET utf8mb4 NOT NULL DEFAULT '0',
10376-
`order_num` int(11) unsigned NOT NULL,
10376+
`order_num` int(11) NOT NULL,
1037710377
`page_layout` varchar(100) CHARACTER SET utf8mb4 NOT NULL DEFAULT 'default_3x3',
1037810378
`page_headline` text CHARACTER SET utf8mb4 NOT NULL,
1037910379
`page_teaser` text CHARACTER SET utf8mb4 NOT NULL,
@@ -12813,7 +12813,7 @@ CREATE TABLE `server_status` (
1281312813
--
1281412814

1281512815
INSERT INTO `server_status` (`id`, `status`, `users_online`, `rooms_loaded`, `server_ver`, `stamp`, `minutesuptime`, `userpeak`, `bannerdata`) VALUES
12816-
(1, '1', 0, 0, 'Azure Emulator', 1447683446, 0, 2, '114670925920269957593299136150366957983142588366300079186349531:1589935137502239924254699078669119674538324391752663931735947');
12816+
(1, '1', 0, 0, 'Yupi Emulator', 1450128924, 0, 2, '114670925920269957593299136150366957983142588366300079186349531:1589935137502239924254699078669119674538324391752663931735947');
1281712817

1281812818
-- --------------------------------------------------------
1281912819

@@ -12824,15 +12824,15 @@ INSERT INTO `server_status` (`id`, `status`, `users_online`, `rooms_loaded`, `se
1282412824
DROP TABLE IF EXISTS `talents_data`;
1282512825
CREATE TABLE `talents_data` (
1282612826
`id` int(11) NOT NULL,
12827-
`type` enum('citizenship','status') NOT NULL DEFAULT 'citizenship',
12827+
`type` enum('citizenship','status') CHARACTER SET utf8mb4 NOT NULL DEFAULT 'citizenship',
1282812828
`parent_category` int(11) NOT NULL DEFAULT '-1',
1282912829
`level` int(11) NOT NULL,
1283012830
`order_num` int(11) NOT NULL,
12831-
`achievement_group` varchar(255) NOT NULL DEFAULT 'ACH_',
12832-
`achievement_level` int(11) NOT NULL DEFAULT '1',
12833-
`prize` varchar(255) NOT NULL DEFAULT 'A1 KUMIANKKA',
12831+
`achievement_group` varchar(255) CHARACTER SET utf8mb4 NOT NULL DEFAULT 'ACH_',
12832+
`achievement_level` int(11) unsigned NOT NULL DEFAULT '1',
12833+
`prize` varchar(255) CHARACTER SET utf8mb4 NOT NULL DEFAULT 'A1 KUMIANKKA',
1283412834
`prize_baseitem` int(11) unsigned NOT NULL
12835-
) ENGINE=MyISAM AUTO_INCREMENT=30 DEFAULT CHARSET=latin1;
12835+
) ENGINE=InnoDB AUTO_INCREMENT=30 DEFAULT CHARSET=latin1;
1283612836

1283712837
--
1283812838
-- Extraindo dados da tabela `talents_data`
@@ -12878,54 +12878,54 @@ INSERT INTO `talents_data` (`id`, `type`, `parent_category`, `level`, `order_num
1287812878
DROP TABLE IF EXISTS `users`;
1287912879
CREATE TABLE `users` (
1288012880
`id` int(11) unsigned NOT NULL,
12881-
`username` varchar(50) CHARACTER SET latin1 NOT NULL,
12882-
`real_name` varchar(100) CHARACTER SET latin1 NOT NULL DEFAULT '',
12883-
`password` varchar(255) NOT NULL DEFAULT '',
12884-
`auth_ticket` varchar(240) CHARACTER SET latin1 NOT NULL DEFAULT '',
12881+
`username` varchar(100) CHARACTER SET utf8mb4 NOT NULL,
12882+
`real_name` varchar(100) CHARACTER SET utf8mb4 NOT NULL DEFAULT '',
12883+
`password` varchar(100) CHARACTER SET utf8mb4 NOT NULL DEFAULT '',
12884+
`auth_ticket` varchar(100) CHARACTER SET utf8mb4 NOT NULL DEFAULT '',
1288512885
`rank` int(11) unsigned NOT NULL DEFAULT '1',
12886-
`credits` int(11) NOT NULL DEFAULT '50000',
12887-
`activity_points` int(11) NOT NULL DEFAULT '0',
12886+
`credits` int(11) unsigned NOT NULL DEFAULT '50000',
12887+
`activity_points` int(11) unsigned NOT NULL DEFAULT '0',
1288812888
`activity_points_lastupdate` double NOT NULL DEFAULT '0',
12889-
`diamonds` int(11) NOT NULL DEFAULT '0',
12890-
`look` varchar(160) CHARACTER SET latin1 NOT NULL DEFAULT 'hr-115-42.hd-190-1.ch-215-62.lg-285-91.sh-290-62',
12891-
`gender` enum('M','F') CHARACTER SET latin1 NOT NULL DEFAULT 'M',
12892-
`motto` varchar(50) CHARACTER SET latin1 NOT NULL DEFAULT '',
12893-
`mail` varchar(255) NOT NULL DEFAULT 'undefined',
12894-
`account_created` double(50,0) NOT NULL DEFAULT '0',
12889+
`diamonds` int(11) unsigned NOT NULL DEFAULT '0',
12890+
`look` varchar(160) CHARACTER SET utf8mb4 NOT NULL DEFAULT 'hr-115-42.hd-190-1.ch-215-62.lg-285-91.sh-290-62',
12891+
`gender` enum('M','F') CHARACTER SET utf8mb4 NOT NULL DEFAULT 'M',
12892+
`motto` varchar(50) CHARACTER SET utf8mb4 NOT NULL DEFAULT '',
12893+
`mail` varchar(191) CHARACTER SET utf8mb4 NOT NULL DEFAULT 'undefined',
12894+
`account_created` int(11) NOT NULL DEFAULT '0',
1289512895
`last_online` int(11) NOT NULL DEFAULT '0',
12896-
`online` enum('0','1') CHARACTER SET latin1 NOT NULL DEFAULT '0',
12897-
`ip_last` varchar(120) CHARACTER SET latin1 NOT NULL DEFAULT '',
12898-
`ip_reg` varchar(120) CHARACTER SET latin1 NOT NULL DEFAULT '',
12896+
`online` enum('0','1') CHARACTER SET utf8mb4 NOT NULL DEFAULT '0',
12897+
`ip_last` varchar(120) CHARACTER SET utf8mb4 NOT NULL DEFAULT '',
12898+
`ip_reg` varchar(120) CHARACTER SET utf8mb4 NOT NULL DEFAULT '',
1289912899
`home_room` int(10) unsigned NOT NULL DEFAULT '0',
1290012900
`newbie_status` int(11) NOT NULL DEFAULT '0',
12901-
`is_muted` enum('0','1') CHARACTER SET latin1 NOT NULL DEFAULT '0',
12902-
`mutant_penalty` enum('0','1','2') CHARACTER SET latin1 NOT NULL DEFAULT '0',
12901+
`is_muted` enum('0','1') CHARACTER SET utf8mb4 NOT NULL DEFAULT '0',
12902+
`mutant_penalty` enum('0','1','2') CHARACTER SET utf8mb4 NOT NULL DEFAULT '0',
1290312903
`mutant_penalty_expire` int(11) NOT NULL DEFAULT '0',
12904-
`trade_lock` enum('0','1') NOT NULL DEFAULT '0',
12904+
`trade_lock` enum('0','1') CHARACTER SET utf8mb4 NOT NULL DEFAULT '0',
1290512905
`trade_lock_expire` int(11) NOT NULL DEFAULT '0',
12906-
`block_newfriends` enum('0','1') CHARACTER SET latin1 NOT NULL DEFAULT '0',
12907-
`hide_online` enum('0','1') CHARACTER SET latin1 NOT NULL DEFAULT '0',
12908-
`hide_inroom` enum('0','1') CHARACTER SET latin1 NOT NULL DEFAULT '0',
12909-
`vip` enum('0','1') CHARACTER SET latin1 NOT NULL DEFAULT '0',
12906+
`block_newfriends` enum('0','1') CHARACTER SET utf8mb4 NOT NULL DEFAULT '0',
12907+
`hide_online` enum('0','1') CHARACTER SET utf8mb4 NOT NULL DEFAULT '0',
12908+
`hide_inroom` enum('0','1') CHARACTER SET utf8mb4 NOT NULL DEFAULT '0',
12909+
`vip` enum('0','1') CHARACTER SET utf8mb4 NOT NULL DEFAULT '0',
1291012910
`talent_status` enum('citizenship','helper') NOT NULL DEFAULT 'citizenship',
1291112911
`last_name_change` int(11) NOT NULL DEFAULT '0',
12912-
`nux_passed` enum('0','1') NOT NULL DEFAULT '0',
12912+
`nux_passed` enum('0','1') CHARACTER SET utf8mb4 NOT NULL DEFAULT '0',
1291312913
`builders_expire` int(11) DEFAULT '3700',
1291412914
`builders_items_max` int(11) NOT NULL DEFAULT '100',
1291512915
`builders_items_used` int(11) NOT NULL DEFAULT '0',
1291612916
`release_version` int(11) NOT NULL DEFAULT '2',
12917-
`on_duty` varchar(255) NOT NULL DEFAULT 'false',
12917+
`on_duty` varchar(255) CHARACTER SET utf8mb4 NOT NULL DEFAULT 'false',
1291812918
`duty_level` int(11) NOT NULL DEFAULT '0',
12919-
`navigator_logs` varchar(255) CHARACTER SET latin1 DEFAULT '1,official-root,;2,popular,;3,my,;4,favorites,',
12919+
`navigator_logs` varchar(255) CHARACTER SET utf8mb4 DEFAULT '1,official-root,;2,popular,;3,my,;4,favorites,',
1292012920
`respect` int(11) DEFAULT NULL
12921-
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
12921+
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
1292212922

1292312923
--
1292412924
-- Extraindo dados da tabela `users`
1292512925
--
1292612926

1292712927
INSERT INTO `users` (`id`, `username`, `real_name`, `password`, `auth_ticket`, `rank`, `credits`, `activity_points`, `activity_points_lastupdate`, `diamonds`, `look`, `gender`, `motto`, `mail`, `account_created`, `last_online`, `online`, `ip_last`, `ip_reg`, `home_room`, `newbie_status`, `is_muted`, `mutant_penalty`, `mutant_penalty_expire`, `trade_lock`, `trade_lock_expire`, `block_newfriends`, `hide_online`, `hide_inroom`, `vip`, `talent_status`, `last_name_change`, `nux_passed`, `builders_expire`, `builders_items_max`, `builders_items_used`, `release_version`, `on_duty`, `duty_level`, `navigator_logs`, `respect`) VALUES
12928-
(1, 'Claudio', '', '', 'chocolate', 10, 49962, 1330, 0, 83, 'ch-215-62.hd-190-19.lg-285-91.sh-290-62.hr-115-42', 'M', '', 'undefined', 0, 1447683446, '0', '172.16.9.115', '', 0, 0, '0', '0', 0, '0', 0, '0', '0', '0', '0', 'citizenship', 0, '0', 3700, 100, 0, 2, 'false', 0, '1,official-root,;2,popular,;3,my,;4,favorites,', NULL);
12928+
(2, 'Kioi', '', '', 'chocolate', 1, 50000, 0, 0, 0, 'hr-115-42.hd-190-1.ch-215-62.lg-285-91.sh-290-62', 'M', '', 'undefined', 1450124463, 0, '0', '172.16.9.69', '', 0, 0, '0', '0', 0, '0', 0, '0', '0', '0', '0', 'citizenship', 0, '0', 3700, 100, 0, 2, 'false', 0, '1,official-root,;2,popular,;3,my,;4,favorites,', NULL);
1292912929

1293012930
-- --------------------------------------------------------
1293112931

@@ -12954,7 +12954,9 @@ INSERT INTO `users_achievements` (`userid`, `group`, `level`, `progress`) VALUES
1295412954
(1, 'ACH_AvatarLooks', 1, 0),
1295512955
(1, 'ACH_SafetyQuizGraduate', 1, 0),
1295612956
(1, 'ACH_PetLover', 2, 0),
12957-
(1, 'ACH_PetRespectGiver', 1, 3);
12957+
(1, 'ACH_PetRespectGiver', 1, 3),
12958+
(2, 'ACH_RegistrationDuration', 1, 0),
12959+
(2, 'ACH_Login', 1, 0);
1295812960

1295912961
-- --------------------------------------------------------
1296012962

@@ -12968,7 +12970,7 @@ CREATE TABLE `users_badges` (
1296812970
`user_id` int(10) unsigned NOT NULL,
1296912971
`badge_id` varchar(100) NOT NULL,
1297012972
`badge_slot` int(11) NOT NULL DEFAULT '0'
12971-
) ENGINE=MyISAM AUTO_INCREMENT=16 DEFAULT CHARSET=latin1;
12973+
) ENGINE=MyISAM AUTO_INCREMENT=18 DEFAULT CHARSET=latin1;
1297212974

1297312975
--
1297412976
-- Extraindo dados da tabela `users_badges`
@@ -12983,7 +12985,9 @@ INSERT INTO `users_badges` (`id`, `user_id`, `badge_id`, `badge_slot`) VALUES
1298312985
(8, 1, 'ACH_AvatarLooks1', 0),
1298412986
(10, 1, 'ACH_SafetyQuizGraduate1', 0),
1298512987
(14, 1, 'ACH_PetLover2', 0),
12986-
(15, 1, 'ACH_PetRespectGiver1', 0);
12988+
(15, 1, 'ACH_PetRespectGiver1', 0),
12989+
(16, 2, 'ACH_RegistrationDuration1', 0),
12990+
(17, 2, 'ACH_Login1', 0);
1298712991

1298812992
-- --------------------------------------------------------
1298912993

@@ -13127,7 +13131,8 @@ CREATE TABLE `users_info` (
1312713131
--
1312813132

1312913133
INSERT INTO `users_info` (`user_id`, `bans`, `cautions`, `reg_timestamp`, `login_timestamp`, `cfhs`, `cfhs_abusive`) VALUES
13130-
(1, 0, 0, 0, 1447683346, 0, 0);
13134+
(1, 0, 0, 0, 1447683346, 0, 0),
13135+
(2, 0, 0, 0, 1450128847, 0, 0);
1313113136

1313213137
-- --------------------------------------------------------
1313313138

@@ -13169,7 +13174,8 @@ CREATE TABLE `users_preferences` (
1316913174
--
1317013175

1317113176
INSERT INTO `users_preferences` (`userid`, `volume`, `prefer_old_chat`, `ignore_room_invite`, `disable_camera_follow`, `newnavi_x`, `newnavi_y`, `newnavi_width`, `newnavi_height`, `chat_color`) VALUES
13172-
(1, '100,100,100', '0', '0', '0', 348, 42, 425, 600, 0);
13177+
(1, '100,100,100', '0', '0', '0', 348, 42, 425, 600, 0),
13178+
(2, '100,100,100', '0', '0', '0', 0, 0, 580, 600, 0);
1317313179

1317413180
-- --------------------------------------------------------
1317513181

@@ -13320,28 +13326,28 @@ CREATE TABLE `users_rooms_visits` (
1332013326

1332113327
DROP TABLE IF EXISTS `users_stats`;
1332213328
CREATE TABLE `users_stats` (
13323-
`id` int(7) NOT NULL,
13329+
`id` int(11) unsigned NOT NULL,
1332413330
`online_seconds` int(7) NOT NULL,
1332513331
`room_visits` int(7) NOT NULL DEFAULT '0',
1332613332
`respect` int(6) NOT NULL DEFAULT '0',
1332713333
`gifts_given` int(6) NOT NULL DEFAULT '0',
1332813334
`gifts_received` int(6) NOT NULL DEFAULT '0',
1332913335
`daily_respect_points` int(1) NOT NULL DEFAULT '3',
1333013336
`daily_pet_respect_points` int(1) NOT NULL DEFAULT '3',
13331-
`achievement_score` int(7) NOT NULL DEFAULT '0',
13337+
`achievement_score` int(7) unsigned NOT NULL DEFAULT '0',
1333213338
`quest_id` int(10) unsigned NOT NULL DEFAULT '0',
1333313339
`quest_progress` int(10) NOT NULL DEFAULT '0',
1333413340
`favourite_group` int(11) NOT NULL DEFAULT '0',
1333513341
`tickets_answered` int(11) NOT NULL DEFAULT '0',
1333613342
`daily_competition_votes` int(11) NOT NULL DEFAULT '3'
13337-
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
13343+
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
1333813344

1333913345
--
1334013346
-- Extraindo dados da tabela `users_stats`
1334113347
--
1334213348

1334313349
INSERT INTO `users_stats` (`id`, `online_seconds`, `room_visits`, `respect`, `gifts_given`, `gifts_received`, `daily_respect_points`, `daily_pet_respect_points`, `achievement_score`, `quest_id`, `quest_progress`, `favourite_group`, `tickets_answered`, `daily_competition_votes`) VALUES
13344-
(1, 14, 0, 0, 0, 0, 3, 0, 515, 0, 0, 0, 0, 3);
13350+
(2, 0, 0, 0, 0, 0, 3, 3, 0, 0, 0, 0, 0, 3);
1334513351

1334613352
-- --------------------------------------------------------
1334713353

@@ -13880,7 +13886,11 @@ ALTER TABLE `talents_data`
1388013886
-- Indexes for table `users`
1388113887
--
1388213888
ALTER TABLE `users`
13883-
ADD PRIMARY KEY (`id`);
13889+
ADD PRIMARY KEY (`id`),
13890+
ADD UNIQUE KEY `mail_2` (`mail`),
13891+
ADD KEY `id` (`id`),
13892+
ADD KEY `username` (`username`),
13893+
ADD KEY `mail` (`mail`);
1388413894

1388513895
--
1388613896
-- Indexes for table `users_achievements`
@@ -13997,7 +14007,8 @@ ALTER TABLE `users_rooms_visits`
1399714007
-- Indexes for table `users_stats`
1399814008
--
1399914009
ALTER TABLE `users_stats`
14000-
ADD PRIMARY KEY (`id`);
14010+
ADD PRIMARY KEY (`id`),
14011+
ADD KEY `id` (`id`);
1400114012

1400214013
--
1400314014
-- Indexes for table `users_subscriptions`
@@ -14261,12 +14272,12 @@ ALTER TABLE `talents_data`
1426114272
-- AUTO_INCREMENT for table `users`
1426214273
--
1426314274
ALTER TABLE `users`
14264-
MODIFY `id` int(11) unsigned NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=2;
14275+
MODIFY `id` int(11) unsigned NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=3;
1426514276
--
1426614277
-- AUTO_INCREMENT for table `users_badges`
1426714278
--
1426814279
ALTER TABLE `users_badges`
14269-
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=16;
14280+
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=18;
1427014281
--
1427114282
-- AUTO_INCREMENT for table `users_bans`
1427214283
--
@@ -14339,6 +14350,12 @@ ALTER TABLE `bots_data`
1433914350
ADD CONSTRAINT `bots_data_bot_type` FOREIGN KEY (`bot_type`) REFERENCES `catalog_bots` (`bot_type`),
1434014351
ADD CONSTRAINT `bots_data_user_id` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`);
1434114352

14353+
--
14354+
-- Limitadores para a tabela `users_stats`
14355+
--
14356+
ALTER TABLE `users_stats`
14357+
ADD CONSTRAINT `users_stats_user_id` FOREIGN KEY (`id`) REFERENCES `users` (`id`);
14358+
1434214359
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
1434314360
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
1434414361
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;

Yupi/Build/Executables/AnyCPU/Yupi.exe.config

Lines changed: 0 additions & 17 deletions
This file was deleted.
-22.2 KB
Binary file not shown.

Yupi/Build/Executables/AnyCPU/Yupi.vshost.exe.config

Lines changed: 0 additions & 17 deletions
This file was deleted.

Yupi/Build/Executables/AnyCPU/robot.s

Whitespace-only changes.

Yupi/Build/Executables/x64/robot.s

Whitespace-only changes.

Yupi/Build/Executables/x86/robot.s

Whitespace-only changes.

Yupi/Build/Variables/Settings/main.ini

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
## Must be edited for the server to work
33

44
## MySQL Configuration
5-
db.hostname=127.0.0.1
5+
db.hostname=172.16.9.69
66
db.port=3306
7-
db.username=root
8-
db.password=Azure
9-
db.name=
7+
db.username=azure
8+
db.password=123
9+
db.name=teste
1010
db.type=MySQL
1111

1212
## MySQL pooling setup (controls amount of connections)

Yupi/Build/Variables/Settings/other.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@ everyone.use.floor=true
3434
admin.can.useHTML=true
3535
commands.new.page=true
3636
figuredata.url=http://localhost/gamedata/figuredata/1.xml
37-
furnidata.url=http://localhost/gamedata/furnidata_xml/1.xml
37+
furnidata.url=http://www.maniahotel.com.br/source/gamedata/furnidata_xml/furnidata_xml.xml
3838
youtube.thumbnail.suburl=youtubethumbnail.php?Video

Yupi/Core/Settings/ServerExtraSettings.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ internal static bool RunExtraSettings()
170170
if (!File.Exists(Path.Combine(Yupi.YupiVariablesDirectory, "Settings/other.ini")))
171171
return false;
172172

173-
foreach (var settingsParameters in from line in File.ReadAllLines("Settings/other.ini", Encoding.Default) where !string.IsNullOrWhiteSpace(line) && line.Contains("=") select line.Split('='))
173+
foreach (var settingsParameters in from line in File.ReadAllLines(Path.Combine(Yupi.YupiVariablesDirectory, "Settings/other.ini"), Encoding.Default) where !string.IsNullOrWhiteSpace(line) && line.Contains("=") select line.Split('='))
174174
{
175175
switch (settingsParameters[0])
176176
{

0 commit comments

Comments
 (0)